| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
minor import changes.
|
|
|
|
|
|
| |
CommandSet command functions (do_, complete_, help_).
Renamed install_command_set and uninstall_command_set to
register_command_set and unregister_command_set.
|
|
|
|
| |
Added additional documentation
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
for CommandSet commands.
Issue #943
|
|
Issue #943
New class CommandSet can be used to tag a class as a command class. If
the constructor is simple, the object will automatically be instantiated
and loaded.
New register_command decorator to tag any arbitrary function as a
command.
|