summaryrefslogtreecommitdiff
path: root/tests/test_argparse_custom.py
Commit message (Collapse)AuthorAgeFilesLines
* The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵Kevin Van Brunt2020-08-261-0/+10
| | | | | | | 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.
* Add unit test and update CHANGELOGTodd Leonhardt2020-08-121-0/+7
|
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-0/+1
| | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
* Initial commit of table creation APIKevin Van Brunt2020-04-091-5/+5
|
* Added unit test for overriding default parserKevin Van Brunt2019-11-191-0/+17
|
* Removed all instances where a parser's prog attribute was being set since ↵Kevin Van Brunt2019-10-301-16/+16
| | | | this is no longer needed
* Added functions to manually add choice providing functions to an argparse ↵Kevin Van Brunt2019-08-051-7/+18
| | | | action.
* Raising exception when a choices or completer function is used for an ↵Kevin Van Brunt2019-07-291-4/+17
| | | | argument that takes no values
* Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵Kevin Van Brunt2019-07-181-16/+17
| | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py.
* Changed format of help where nargs is a number greater than 1Kevin Van Brunt2019-07-151-33/+28
|
* More unit testsKevin Van Brunt2019-07-151-9/+47
|
* Added unit testsKevin Van Brunt2019-07-151-10/+55
|
* Added ability to specify nargs ranges with no upper boundKevin Van Brunt2019-07-151-18/+15
|
* Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-121-14/+13
|
* Added unit tests for argparse_custom.pyKevin Van Brunt2019-07-101-7/+101
|
* Reorganized argparse completion and custom unit testsKevin Van Brunt2019-07-051-0/+51