summaryrefslogtreecommitdiff
path: root/examples/modular_commands/commandset_complex.py
Commit message (Collapse)AuthorAgeFilesLines
* Breaking change: Removed cmd2 app as a required second parameter toEric Lin2020-08-121-16/+16
| | | | | | CommandSet command functions (do_, complete_, help_). Renamed install_command_set and uninstall_command_set to register_command_set and unregister_command_set.
* Marked with_arparser_and_unknown_args deprecated and consolidatedEric Lin2020-08-041-1/+1
| | | | implementation as an option to with_argparser instead.
* Updates the example to remove usage of the now remove ability toEric Lin2020-08-041-0/+53
register arbitrary functions as commands. Added example that demonstrates use of each of the command decorators with CommandSets. Adds unit test that verifies that CommandSets containing decorators load and process commands correctly. Updated the constructor declaration for Cmd2ArgumentParser to explicitly re-declare argparse constructor parameters.