summaryrefslogtreecommitdiff
path: root/cmd2/argparse_completer.py
Commit message (Expand)AuthorAgeFilesLines
* Changed isort to force wrapping of imports to reduce merge conflicts from min...Eric Lin2021-01-221-6/+25
* Fixed bug where setting always_show_hint=True did not show a hint when comple...settable_hintKevin Van Brunt2020-11-121-2/+6
* argparse tab completion now groups flag names which run the same action. Opti...Kevin Van Brunt2020-09-091-1/+19
* Added always_show_hint settingKevin Van Brunt2020-09-051-30/+38
* Fixed tab completion bug when using CompletionItem on an argument whose metav...Kevin Van Brunt2020-08-131-15/+24
* When passing a ns_provider to an argparse command, will now attempt to resolv...Eric Lin2020-08-121-39/+9
* Breaking change: Removed cmd2 app as a required second parameter toEric Lin2020-08-121-1/+2
* Verify that a completer function is defined in a CommandSet beforeEric Lin2020-08-061-7/+38
* Now maintains a command->CommandSet mapping and passes the CommandSetanselor2020-08-041-5/+17
* Removed divider row from tab completion hint tableKevin Van Brunt2020-06-011-1/+1
* Optimized importsKevin Van Brunt2020-06-011-2/+1
* Changed how SimpleTable creates divider when divider_char is wide. It no long...Kevin Van Brunt2020-06-011-3/+2
* Updated argparse_completer to use TableCreator for the hint tableKevin Van Brunt2020-05-281-18/+27
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-4/+10
* Initial commit of table creation APIKevin Van Brunt2020-04-091-5/+4
* Removed extra new line in error messageKevin Van Brunt2020-02-181-1/+1
* Added apply_style to CompletionErrorKevin Van Brunt2020-02-181-44/+12
* Fixed issue where argparse completion errors were being rewrapped as _ActionC...Kevin Van Brunt2020-02-181-7/+16
* Made CompletionError exception available to non-argparse tab completionKevin Van Brunt2020-02-171-123/+113
* Renamed AutoCompleter to ArgparseCompleter for clarityKevin Van Brunt2020-02-171-15/+15
* Using metavar in CompletionItem header if it has been setKevin Van Brunt2020-02-131-2/+4
* Removed unnecessary inheritance from objectKevin Van Brunt2020-02-041-2/+2
* Renamed ansi_safe_wcswidth() to style_aware_wcswidth()Kevin Van Brunt2019-12-191-3/+3
* Fixed bug where a redefined ansi.style_error was not being used in all cmd2 f...Kevin Van Brunt2019-11-271-9/+9
* Improved displaying multiline CompletionErrorsKevin Van Brunt2019-10-091-1/+5
* Respecting user's allow_ansi value when printing hints and errors in AutoComp...Kevin Van Brunt2019-09-301-8/+6
* Simplifying tab completion message printingKevin Van Brunt2019-09-301-42/+19
* Changed some logic and added comment whyKevin Van Brunt2019-09-271-2/+3
* Allowing flag in mutex group to appear more than onceKevin Van Brunt2019-09-271-1/+8
* Remove unneeded variableKevin Van Brunt2019-09-271-2/+1
* AutoCompleter now handles mutually exclusive groupsKevin Van Brunt2019-09-271-5/+46
* Initial steps to support mutually exclusive groups in AutoCompleterKevin Van Brunt2019-09-261-22/+22
* Finished implementation of CompletionErrorKevin Van Brunt2019-09-231-30/+62
* Changed arg_tokens to a dictionaryKevin Van Brunt2019-09-161-22/+35
* Fixed issue where invalid subcommand token was ignored when retrieving help textKevin Van Brunt2019-09-131-3/+4
* Fixed issue where invalid subcommand token was ignored when tab completing helpKevin Van Brunt2019-09-131-2/+3
* Change parsed_args to arg_tokensKevin Van Brunt2019-09-131-8/+14
* Updated commentKevin Van Brunt2019-08-271-2/+3
* AutoCompleter only passes parsed_args to choices/completer functions that hav...Kevin Van Brunt2019-08-271-13/+19
* AutoCompleter now passes parsed_args to all choices and completer functionsKevin Van Brunt2019-08-221-10/+6
* Added parser to parsed_args namespaceKevin Van Brunt2019-08-211-0/+1
* Renamed some variablesKevin Van Brunt2019-08-131-3/+3
* Now adding flags with no arguments to consumed_arg_values. This way completer...Kevin Van Brunt2019-08-131-10/+16
* Combined 2 functionsKevin Van Brunt2019-08-131-57/+43
* Added capability for an argparse-based command's completer/choice functions t...Kevin Van Brunt2019-08-131-20/+23
* Replaced AutoCompleter._positional_completers since an ArgumentParser can onl...Kevin Van Brunt2019-08-121-37/+29
* Removed token_start_index from AutoCompleter's __init__ methodKevin Van Brunt2019-08-121-3/+1
* Removed need for AutoCompleter's token_start_index memberKevin Van Brunt2019-08-121-13/+9
* Sorting unsorted numbers list in ascending order in AutoCompleterKevin Van Brunt2019-07-201-0/+6
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-191-5/+5