| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This ads black, isort, pyupgrade, and flake8 to pre-commit-config.yaml
There are also some small changes to travis.yml and tasks.py to reduce
some repeated configurations that should be consolidated into
setup.cfg. Most other changes are automated by the linter scripts.
|
| |
|
| |
|
|
|
|
|
|
| |
display help when called with -h/--help.
'add_help=False' no longer has to be passed to parsers used in @as_subcommand_to decorator.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
CommandSet command functions (do_, complete_, help_).
Renamed install_command_set and uninstall_command_set to
register_command_set and unregister_command_set.
|
| |
|
|
|
|
|
| |
Changed alias and macro commands to use as_subcommand_to() decorator.
Updated CommandSet subcommand example to use help and description text.
|
| |
|
|
|
|
| |
passing to command handlers to access sub-command handlers
|
|
|
|
|
| |
sub-commande => subcommand
Added help/aliases to `as_subcommand_to` decorator.
|
|
load/unload.
Updated examples and documentation to include discussion of injectable
sub-commands.
|