Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed sub-class and instead patch argparse._SubParsersAction | Eric Lin | 2020-08-04 | 1 | -1/+1 |
| | |||||
* | Suggested PR Fixes. | Eric Lin | 2020-08-04 | 1 | -1/+1 |
| | | | | | sub-commande => subcommand Added help/aliases to `as_subcommand_to` decorator. | ||||
* | Adds unit tests for sub-commands and additional commandset edge cases | Eric Lin | 2020-08-04 | 1 | -0/+170 |
| | |||||
* | updated imports | Eric Lin | 2020-08-04 | 2 | -1/+0 |
| | | | | Added additional documentation | ||||
* | Updates the example to remove usage of the now remove ability to | Eric Lin | 2020-08-04 | 1 | -18/+72 |
| | | | | | | | | | | 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. | ||||
* | Removed support for functions outside of CommandSets | Eric Lin | 2020-08-04 | 1 | -208/+1 |
| | |||||
* | Moved commandset tests into an isolated test | Eric Lin | 2020-08-04 | 3 | -0/+566 |