Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 1 | -1/+7 |
| | | | | minor import changes. | ||||
* | Fixed type hints in example code1.3.9 | Kevin Van Brunt | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Updated docs | Kevin Van Brunt | 2020-09-01 | 1 | -2/+2 |
| | |||||
* | Fixed issue where subcommand added with @as_subcommand_to decorator did not ↵ | Kevin Van Brunt | 2020-08-27 | 1 | -2/+2 |
| | | | | | | display help when called with -h/--help. 'add_help=False' no longer has to be passed to parsers used in @as_subcommand_to decorator. | ||||
* | The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵ | Kevin Van Brunt | 2020-08-26 | 1 | -1/+1 |
| | | | | | | | are now Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it easy to filter out which attributes in an argparse.Namespace were added by cmd2. | ||||
* | Breaking change: Removed cmd2 app as a required second parameter to | Eric Lin | 2020-08-12 | 1 | -12/+12 |
| | | | | | | CommandSet command functions (do_, complete_, help_). Renamed install_command_set and uninstall_command_set to register_command_set and unregister_command_set. | ||||
* | Minor housekeeping. Updated CODEOWNERS with recent additions | Eric Lin | 2020-08-07 | 1 | -1/+1 |
| | |||||
* | Moved code which copies subparser's settings to _register_subcommands(). | Kevin Van Brunt | 2020-08-07 | 1 | -5/+7 |
| | | | | | Changed alias and macro commands to use as_subcommand_to() decorator. Updated CommandSet subcommand example to use help and description text. | ||||
* | Removed obsolete argument1.3.0 | Kevin Van Brunt | 2020-08-04 | 1 | -1/+1 |
| | |||||
* | Minor formatting fixes. Injecting a function into namespace objects before ↵ | Eric Lin | 2020-08-04 | 1 | -3/+3 |
| | | | | passing to command handlers to access sub-command handlers | ||||
* | Suggested PR Fixes. | Eric Lin | 2020-08-04 | 1 | -3/+3 |
| | | | | | sub-commande => subcommand Added help/aliases to `as_subcommand_to` decorator. | ||||
* | Adds support for injectable subcommands as part of CommandSet | Eric Lin | 2020-08-04 | 1 | -0/+110 |
load/unload. Updated examples and documentation to include discussion of injectable sub-commands. |