Apps generated with Watson should handle universal command-line options (like --help and -v/--version) properly by default.
This should be implemented in a manner that makes it easy for the developer to add further options should they desire (see the core apps, e.g., Code, for an example of a good, maintainable implementation.)
[ ] Handle the handle_local_options signal with a custom handler for -v/--version argument
[ ] Add the project description as the option context summary for use in the --help screen (set_option_context_summary())
[ ] Add the project copyright notice as the context description to be displayed at the bottom of the --help screen (set_option_context_description())
Apps generated with Watson should handle universal command-line options (like --help and -v/--version) properly by default.
This should be implemented in a manner that makes it easy for the developer to add further options should they desire (see the core apps, e.g., Code, for an example of a good, maintainable implementation.)
handle_local_options
signal with a custom handler for-v
/--version
argument--help
screen (set_option_context_summary()
)--help
screen (set_option_context_description()
)