documentation updates

updating/adding options and events from source code for commands
added example of using an event subscriber.