Introduce command-line notation for defining event handler functions
Update usage in README.md