| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
subclasses will inherit the parent class's default category.
Adds optional flag to disable heritability.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
loaded during cmd2.Cmd.__init__().
|
|
|
|
| |
resolve the correct CommandSet instance for self. If not, it'll fall back and pass in the cmd2 app
|
|
|
|
|
|
| |
CommandSet command functions (do_, complete_, help_).
Renamed install_command_set and uninstall_command_set to
register_command_set and unregister_command_set.
|
|
|
|
|
|
| |
CommandSet now has a check to ensure it is only registered with one
cmd2.Cmd instance at a time.
Adds function to find command set by type and by command name
|
|
|
|
| |
Fixed missing settings in subcommand parsers created with as_subcommand_to() decorator.
|
|
passing it a CommandSet instance.
Search for a CommandSet instance that matches the completer's parent
class type.`
Resolves Issue #967
Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation
|