summaryrefslogtreecommitdiff
path: root/tests/test_argparse_completer.py
Commit message (Expand)AuthorAgeFilesLines
* Changed isort to force wrapping of imports to reduce merge conflicts from min...Eric Lin2021-01-221-4/+18
* argparse tab completion now groups flag names which run the same action. Opti...Kevin Van Brunt2020-09-091-26/+44
* Added always_show_hint settingKevin Van Brunt2020-09-051-11/+45
* Fixed tab completion bug when using CompletionItem on an argument whose metav...Kevin Van Brunt2020-08-131-5/+73
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-2/+3
* Added apply_style to CompletionErrorKevin Van Brunt2020-02-181-39/+0
* Fixed issue where argparse completion errors were being rewrapped as _ActionC...Kevin Van Brunt2020-02-181-1/+41
* Updated unit testKevin Van Brunt2020-02-171-2/+5
* Made CompletionError exception available to non-argparse tab completionKevin Van Brunt2020-02-171-2/+2
* Renamed AutoCompleter to ArgparseCompleter for clarityKevin Van Brunt2020-02-171-12/+12
* Increased code coverage in argparse_completer.py back to 100%Kevin Van Brunt2019-12-101-2/+2
* Removed all instances where a parser's prog attribute was being set since thi...Kevin Van Brunt2019-10-301-1/+1
* Added commentKevin Van Brunt2019-09-301-1/+1
* Wrote unit testsKevin Van Brunt2019-09-301-9/+72
* Simplifying tab completion message printingKevin Van Brunt2019-09-301-19/+1
* Added unit tests for CompletionErrorKevin Van Brunt2019-09-231-1/+41
* Fixed unit tests on Python versions older than 3.7Kevin Van Brunt2019-09-161-3/+3
* Added unit test to override a parameter in a parent parserKevin Van Brunt2019-09-161-0/+6
* Updated arg_tokens unit testsKevin Van Brunt2019-09-161-50/+15
* Changed arg_tokens to a dictionaryKevin Van Brunt2019-09-161-9/+9
* Fixed issue where invalid subcommand token was ignored when tab completing helpKevin Van Brunt2019-09-131-0/+1
* Increased code coverageKevin Van Brunt2019-09-131-1/+2
* Added unit tests for arg_tokensKevin Van Brunt2019-09-131-0/+57
* AutoCompleter only passes parsed_args to choices/completer functions that hav...Kevin Van Brunt2019-08-271-5/+5
* AutoCompleter now passes parsed_args to all choices and completer functionsKevin Van Brunt2019-08-221-5/+5
* Replaced AutoCompleter._positional_completers since an ArgumentParser can onl...Kevin Van Brunt2019-08-121-1/+1
* Fixed unit testsKevin Van Brunt2019-07-201-6/+15
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-191-4/+4
* Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived class...Kevin Van Brunt2019-07-181-12/+12
* Added unit tests to cover invalid subcommand names in completionsKevin Van Brunt2019-07-161-1/+24
* Renamed matches_sort_key to default_sort_key and using it to sort additional dKevin Van Brunt2019-07-151-7/+7
* Added ability to specify nargs ranges with no upper boundKevin Van Brunt2019-07-151-9/+2
* Made a few module functions protectedKevin Van Brunt2019-07-151-18/+18
* Added more hint unit testsKevin Van Brunt2019-07-121-29/+46
* Simplified unit testsKevin Van Brunt2019-07-121-19/+3
* More unit testsKevin Van Brunt2019-07-121-0/+3
* More unit testsKevin Van Brunt2019-07-121-1/+17
* Added unit tests for unfinished flag errorsKevin Van Brunt2019-07-121-7/+46
* Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-121-11/+11
* Refactored much of AutoCompleter.complete_command.Kevin Van Brunt2019-07-111-22/+31
* Removed unused code and add unit testKevin Van Brunt2019-07-111-0/+30
* More unit testsKevin Van Brunt2019-07-101-123/+36
* Small refactoringKevin Van Brunt2019-07-101-2/+2
* Added unit testsKevin Van Brunt2019-07-101-1/+17
* Fixed some double-dash handling logic added unit testsKevin Van Brunt2019-07-101-45/+57
* Fixed bug where -- wasn't stopping a REMAINDER flag and did a lot of refactoringKevin Van Brunt2019-07-101-4/+8
* Added some tests for REMAINDER flagsKevin Van Brunt2019-07-101-8/+29
* Resetting consumed arguments list each time a flag is usedKevin Van Brunt2019-07-081-16/+79
* Added code to handle flags with action set to append, append_const, and count...Kevin Van Brunt2019-07-081-22/+22
* Fixed issue where -- was not handled properly in AutoCompleter when the parse...Kevin Van Brunt2019-07-081-38/+44