summaryrefslogtreecommitdiff
path: root/cmd2/decorators.py
Commit message (Expand)AuthorAgeFilesLines
* Changed isort to force wrapping of imports to reduce merge conflicts from min...Eric Lin2021-01-221-6/+24
* the with_argparse() decorator was incorrectly using a parsed statement object...1.3.7Eric Lin2020-08-271-4/+4
* The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are...Kevin Van Brunt2020-08-261-14/+22
* Fixed RecursionError when printing an argparse.Namespace caused by custom att...Kevin Van Brunt2020-08-251-6/+8
* When passing a ns_provider to an argparse command, will now attempt to resolv...Eric Lin2020-08-121-2/+6
* Breaking change: Removed cmd2 app as a required second parameter toEric Lin2020-08-121-6/+8
* Moved code which copies subparser's settings to _register_subcommands().Kevin Van Brunt2020-08-071-23/+5
* Fixed prog value of subcommands added with as_subcommand_to() decorator.Kevin Van Brunt2020-08-071-9/+30
* Marked with_arparser_and_unknown_args deprecated and consolidatedEric Lin2020-08-041-64/+33
* Minor formatting fixes. Injecting a function into namespace objects before pa...Eric Lin2020-08-041-0/+13
* Now maintains a command->CommandSet mapping and passes the CommandSetanselor2020-08-041-3/+6
* Suggested PR Fixes.Eric Lin2020-08-041-6/+17
* Adds support for injectable subcommands as part of CommandSetEric Lin2020-08-041-0/+31
* updated importsEric Lin2020-08-041-1/+4
* added additional documentation for new decorator behaviorEric Lin2020-08-041-3/+24
* Adjusted decorators to accept variable positional parametersEric Lin2020-08-041-18/+41
* Updated _set_parser_prog() so future calls to add_parser() will set the corre...Kevin Van Brunt2020-04-231-1/+5
* Fixed issue where subcommand usage text could contain a subcommand alias inst...Kevin Van Brunt2020-04-231-5/+20
* argument_list and argparse wrappers now pass kwargs through to the wrapped co...Kevin Van Brunt2020-04-201-7/+35
* Added Cmd2ShlexErrorKevin Van Brunt2020-03-121-3/+3
* Changed name of exception class as requested in code reviewKevin Van Brunt2020-03-051-3/+3
* Prevent postcmd_hook from running when argparse failsKevin Van Brunt2020-03-051-2/+3
* Revise table of contents to include a description of each modulekotfu2020-02-241-1/+1
* Add examples to argpars decoratorskotfu2020-02-241-3/+31
* Embedded examples and cross-links for categorize() and with_category()kotfu2020-02-201-0/+3
* Merge branch 'master' into api_docskotfu2020-02-201-1/+1
|\
| * Moved categorize() to utils.py and made set_parser_prog() non-publicKevin Van Brunt2020-02-201-20/+6
* | Add documentation for parsing classeskotfu2020-02-141-14/+26
* | move `categorize()` to `utils.py` and make `set_parser_prog` a private methodkotfu2020-02-141-19/+5
* | Add example to with_argument_list docstringkotfu2020-02-101-3/+13
|/
* Moving a bit of code around to shrink cmd2.pyKevin Van Brunt2019-10-311-0/+203