summaryrefslogtreecommitdiff
path: root/tests/test_argparse.py
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into blackTodd Leonhardt2021-02-191-1/+1
|\
| * Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.Kevin Van Brunt2021-01-221-1/+1
* | Add in isort changesTodd Leonhardt2021-01-311-5/+16
* | Attempt to fix remaining black failuresTodd Leonhardt2021-01-311-1/+8
* | Add black for automatic code formatTodd Leonhardt2021-01-311-13/+6
|/
* Changed isort to force wrapping of imports to reduce merge conflicts from min...Eric Lin2021-01-221-3/+6
* Fixed issue where subcommand added with @as_subcommand_to decorator did not d...Kevin Van Brunt2020-08-271-9/+37
* The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are...Kevin Van Brunt2020-08-261-3/+2
* Fixed RecursionError when printing an argparse.Namespace caused by custom att...Kevin Van Brunt2020-08-251-0/+23
* Added tests for invalid subcommandsEric Lin2020-08-201-0/+63
* Marked with_arparser_and_unknown_args deprecated and consolidatedEric Lin2020-08-041-3/+3
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-0/+1
* Updated _set_parser_prog() so future calls to add_parser() will set the corre...Kevin Van Brunt2020-04-231-1/+8
* Fixed issue where subcommand usage text could contain a subcommand alias inst...Kevin Van Brunt2020-04-231-10/+52
* Added unit tests for wrappers passing kwargs to command functionsKevin Van Brunt2020-04-211-5/+32
* Removed all instances where a parser's prog attribute was being set since thi...Kevin Van Brunt2019-10-301-1/+1
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-191-9/+9
* Added unit testsKevin Van Brunt2019-05-151-17/+39
* Made run_cmd return out and errKevin Van Brunt2019-03-201-26/+21
* Added a shlex.split() wrapper to have a common way of calling it.Kevin Van Brunt2019-03-051-12/+0
* Merge master into with_argument_list and resolved conflictsTodd Leonhardt2019-03-041-4/+0
|\
| * Removed support for c-style and embedded commentsKevin Van Brunt2019-03-011-4/+0
* | Fix for when with_argument_list is called with preserve_quotes optional argumentTodd Leonhardt2019-03-041-0/+8
|/
* Removed ERROR: text from perror outputKevin Van Brunt2018-12-061-1/+1
* Fix flake8 issuesTodd Leonhardt2018-12-061-0/+1
* Using sub-command instead of subcommand where possible to be consistent with ...Kevin Van Brunt2018-10-051-9/+9
* Converted help to argparseKevin Van Brunt2018-09-261-1/+1
* Fixed unit testKevin Van Brunt2018-09-251-1/+0
* Fixed several hack classes build to simulate file descriptorsTodd Leonhardt2018-09-231-5/+5
* Standardize cmd2 imports in tests and exampleskotfu2018-05-231-1/+1
* Moved some argparse tests from test_transcript.py to test_argparse.pykotfu2018-05-031-0/+13
* Merge branch 'test_merge' into test_ply_mergeEric Lin2018-05-021-1/+1
|\
| * Removed the expensive imports from cmd2/__init__.pyEric Lin2018-04-251-1/+1
* | Remove POSIX_SHLEX and STRIP_QUOTES_FOR_NON_POSIXkotfu2018-04-251-14/+0
|/
* Most of the unit tests fixed.kotfu2018-04-161-1/+1
* Basic structure for cmd2 as a packagekotfu2018-04-161-1/+1
* Revert "Basic structure for cmd2 as a package"kotfu2018-04-161-1/+1
* Basic structure for cmd2 as a packagekotfu2018-04-161-1/+1
* Removed unit test dependency on mockTodd Leonhardt2018-04-151-1/+1
* Reorganized some unit testsKevin Van Brunt2018-03-271-71/+0
* Fixing unit testsKevin Van Brunt2018-03-251-17/+11
* Fix unit tests on macOS when gnureadline is installedTodd Leonhardt2018-03-211-1/+12
* Fix unit tests and exampleTodd Leonhardt2018-03-161-4/+11
* Added unit tests and examples for tab completion of subcommandsKevin Van Brunt2018-03-161-5/+79
* No longer need to manually specify subcommand names for tab completionKevin Van Brunt2018-03-141-4/+1
* help command temporarily redirects sys.stdout and sys.stderr to self.stdout f...Todd Leonhardt2018-01-221-26/+14
* Renamed @with_argument_parser decorator to @with_argparserTodd Leonhardt2018-01-211-6/+6
* Added unit tests for sub-commandsTodd Leonhardt2018-01-201-0/+92
* Fixed unit testsTodd Leonhardt2018-01-201-6/+12
* Simplified a few argparse examples and fixed some incorrect documentationTodd Leonhardt2018-01-171-2/+2