summaryrefslogtreecommitdiff
path: root/cmd2/decorators.py
Commit message (Expand)AuthorAgeFilesLines
* Updated main code to use f-stringsKevin Van Brunt2021-04-071-3/+3
* And that's the last of it. Passes mypy.Eric Lin2021-04-061-8/+9
* Command function formats defined and decorators.py updated with the defined s...Eric Lin2021-04-061-22/+70
* More mypy fixesEric Lin2021-04-061-3/+4
* More mypy validation changes. cmd2.py is nearly fully mypy compliant now.Eric Lin2021-04-021-1/+1
* More things to make mypy happy.Eric Lin2021-04-021-19/+47
* Fixed black, isort, flake8, and doc8 issuesTodd Leonhardt2021-02-191-4/+7
* Merge branch 'master' into blackTodd Leonhardt2021-02-191-59/+4
|\
| * Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.Kevin Van Brunt2021-01-221-43/+0
| * Merge branch 'master' into 2.0Kevin Van Brunt2021-01-221-6/+24
| |\
| * \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-281-4/+4
| |\ \
| * | | Removed Namespace.__statement__Kevin Van Brunt2020-08-271-3/+0
* | | | Add in isort changesTodd Leonhardt2021-01-311-6/+19
* | | | Add black for automatic code formatTodd Leonhardt2021-01-311-38/+45
| |_|/ |/| |
* | | 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