summaryrefslogtreecommitdiff
path: root/tests/test_argparse_completer.py
Commit message (Expand)AuthorAgeFilesLines
* ArgparseCompleter now sorts CompletionItems created with numerical values as ...completion_item_choicesKevin Van Brunt2021-11-151-11/+16
* Added ability to use CompletionItems as argparse choicesKevin Van Brunt2021-11-151-1/+1
* Argparse tab completer will complete remaining flag names if there are no mor...Kevin Van Brunt2021-09-071-0/+14
* Added ap_completer_type arg to Cmd2ArgumentParser.__init__().Kevin Van Brunt2021-09-011-28/+149
* Refactored custom ArgparseCompleter functionality so they will now be set usi...Kevin Van Brunt2021-09-011-2/+2
* Merge branch 'master' into topic_widthKevin Van Brunt2021-08-231-0/+53
|\
| * Applied black formatEric Lin2021-08-231-1/+2
| * * New function `set_default_command_completer_type()` allows developer to ext...Eric Lin2021-08-231-0/+52
* | set command output now uses SimpleTable.Kevin Van Brunt2021-08-191-8/+16
|/
* Fixed issue where argparse choices could not be CompletionItemsKevin Van Brunt2021-03-021-0/+19
* Added support for ANSI styles and newlines in tab completion resultsKevin Van Brunt2021-03-021-9/+14
* Fixed black, isort, flake8, and doc8 issuesTodd Leonhardt2021-02-191-134/+136
* Merge branch 'master' into blackTodd Leonhardt2021-02-191-208/+215
|\
| * Merge branch 'master' into 2.0Kevin Van Brunt2021-01-221-4/+17
| |\
| * \ Merge branch '2.0' into read_inputKevin Van Brunt2020-09-091-26/+44
| |\ \
| | * \ Merge branch 'master' into 2.0Kevin Van Brunt2020-09-091-26/+44
| | |\ \
| * | \ \ Merge branch '2.0' into read_inputKevin Van Brunt2020-09-051-34/+70
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-051-34/+70
| | |\ \ \
| * | | | | Refactored ArgparseCompleter to support custom completionKevin Van Brunt2020-09-011-6/+6
| |/ / / /
| * | | | Documented support for standalone functions being used as completers and choi...Kevin Van Brunt2020-08-181-0/+39
| * | | | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-131-114/+92
* | | | | Add in isort changesTodd Leonhardt2021-01-311-7/+21
* | | | | Add black for automatic code formatTodd Leonhardt2021-01-311-361/+435
| |_|_|/ |/| | |
* | | | 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