summaryrefslogtreecommitdiff
path: root/tests/test_argparse.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* Improved how new argparse-based decorators provide helpTodd Leonhardt2018-01-171-1/+5
* Added a unit testTodd Leonhardt2018-01-151-0/+20
* Renamed new decorator to @with_argparser_and_unknown_args to make it more des...Todd Leonhardt2018-01-151-1/+1
* Changed @with_argument_parser to only pass single argument to commandsTodd Leonhardt2018-01-151-48/+26
* Made a couple cleanup changesTodd Leonhardt2018-01-151-19/+23
* remove use_argument_list attributekotfu2018-01-141-34/+0
* Ensure help function works if use_argument_list = Truekotfu2018-01-141-3/+3
* more robust argparse and arglist decoratorskotfu2018-01-141-2/+44
* add use_argument_list settingkotfu2018-01-121-0/+21
* new @with_argument_list decoratorkotfu2018-01-121-2/+13
* @with_argument_parser now passes an arglist instead of a stringkotfu2018-01-121-5/+16
* Fix a nasty bug in @with_argument_parserJared Crapo2018-01-101-0/+16
* Set prog in argparser based on the name of the functionkotfu2018-01-071-7/+8
* Properly set docstring so it contains help messagekotfu2018-01-071-2/+10
* Add tests for POSIX=true and arguments containing spaceskotfu2018-01-071-3/+25