ZeroKnight / ZeroBot

My personal IRC/Multi-protocol Bot created (and re-created) for education and amusement.
MIT License
1 stars 0 forks source link

Add support for examples on `help` command #23

Open ZeroKnight opened 3 years ago

ZeroKnight commented 3 years ago

Allow examples to be written for a command/subcommand that can be requested with the -e or --example flag to the help command. Examples are useful for complicated commands like quote.

!help -e foo

Output:
- Perform foo on bar: `!foo bar`
- Perform foo on bar with biz: `!foo --method biz bar`

Can add this functionality to our CommandParser class: