| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Removed extra new line in error message | Kevin Van Brunt | 2020-02-18 | 1 | -1/+1 |
| | | |||||
| * | Added apply_style to CompletionError | Kevin Van Brunt | 2020-02-18 | 1 | -44/+12 |
| | | | | | Simplified error class structure in argparse_completer.py | ||||
| * | Fixed issue where argparse completion errors were being rewrapped as ↵ | Kevin Van Brunt | 2020-02-18 | 1 | -7/+16 |
| | | | | | _ActionCompletionError in some cases | ||||
| * | Made CompletionError exception available to non-argparse tab completion | Kevin Van Brunt | 2020-02-17 | 1 | -123/+113 |
| | | |||||
| * | Renamed AutoCompleter to ArgparseCompleter for clarity | Kevin Van Brunt | 2020-02-17 | 1 | -15/+15 |
| | | |||||
| * | Using metavar in CompletionItem header if it has been set | Kevin Van Brunt | 2020-02-13 | 1 | -2/+4 |
| | | |||||
| * | Removed unnecessary inheritance from object | Kevin Van Brunt | 2020-02-04 | 1 | -2/+2 |
| | | |||||
| * | Renamed ansi_safe_wcswidth() to style_aware_wcswidth() | Kevin Van Brunt | 2019-12-19 | 1 | -3/+3 |
| | | | | | Renamed ansi_aware_write() to style_aware_write() | ||||
| * | Fixed bug where a redefined ansi.style_error was not being used in all cmd2 ↵ | Kevin Van Brunt | 2019-11-27 | 1 | -9/+9 |
| | | | | | files | ||||
| * | Improved displaying multiline CompletionErrors | Kevin Van Brunt | 2019-10-09 | 1 | -1/+5 |
| | | |||||
| * | Respecting user's allow_ansi value when printing hints and errors in ↵ | Kevin Van Brunt | 2019-09-30 | 1 | -8/+6 |
| | | | | | | | AutoCompleter Simplified printing of CompletionErrors | ||||
| * | Simplifying tab completion message printing | Kevin Van Brunt | 2019-09-30 | 1 | -42/+19 |
| | | |||||
| * | Changed some logic and added comment why | Kevin Van Brunt | 2019-09-27 | 1 | -2/+3 |
| | | |||||
| * | Allowing flag in mutex group to appear more than once | Kevin Van Brunt | 2019-09-27 | 1 | -1/+8 |
| | | |||||
| * | Remove unneeded variable | Kevin Van Brunt | 2019-09-27 | 1 | -2/+1 |
| | | |||||
| * | AutoCompleter now handles mutually exclusive groups | Kevin Van Brunt | 2019-09-27 | 1 | -5/+46 |
| | | |||||
| * | Initial steps to support mutually exclusive groups in AutoCompleter | Kevin Van Brunt | 2019-09-26 | 1 | -22/+22 |
| | | |||||
| * | Finished implementation of CompletionError | Kevin Van Brunt | 2019-09-23 | 1 | -30/+62 |
| | | |||||
| * | Changed arg_tokens to a dictionary | Kevin Van Brunt | 2019-09-16 | 1 | -22/+35 |
| | | | | | Including tokens from parent parsers in arg_tokens when subcommands are used | ||||
| * | Fixed issue where invalid subcommand token was ignored when retrieving help text | Kevin Van Brunt | 2019-09-13 | 1 | -3/+4 |
| | | |||||
| * | Fixed issue where invalid subcommand token was ignored when tab completing help | Kevin Van Brunt | 2019-09-13 | 1 | -2/+3 |
| | | |||||
| * | Change parsed_args to arg_tokens | Kevin Van Brunt | 2019-09-13 | 1 | -8/+14 |
| | | | | | Including the token being completed in arg_tokens | ||||
| * | Updated comment | Kevin Van Brunt | 2019-08-27 | 1 | -2/+3 |
| | | |||||
| * | AutoCompleter only passes parsed_args to choices/completer functions that ↵ | Kevin Van Brunt | 2019-08-27 | 1 | -13/+19 |
| | | | | | have an argument called 'parsed_args' | ||||
| * | AutoCompleter now passes parsed_args to all choices and completer functions | Kevin Van Brunt | 2019-08-22 | 1 | -10/+6 |
| | | |||||
| * | Added parser to parsed_args namespace | Kevin Van Brunt | 2019-08-21 | 1 | -0/+1 |
| | | |||||
| * | Renamed some variables | Kevin Van Brunt | 2019-08-13 | 1 | -3/+3 |
| | | |||||
| * | Now adding flags with no arguments to consumed_arg_values. This way ↵ | Kevin Van Brunt | 2019-08-13 | 1 | -10/+16 |
| | | | | | | | completer/choice functions that receive parsed_args will still know a flag was used. | ||||
| * | Combined 2 functions | Kevin Van Brunt | 2019-08-13 | 1 | -57/+43 |
| | | |||||
| * | Added capability for an argparse-based command's completer/choice functions ↵ | Kevin Van Brunt | 2019-08-13 | 1 | -20/+23 |
| | | | | | | | | to receive a namespace of all arguments parsed up to token being completed. This will make it easier to have a previous argument's value affect what data is tab-completed. | ||||
| * | Replaced AutoCompleter._positional_completers since an ArgumentParser can ↵ | Kevin Van Brunt | 2019-08-12 | 1 | -37/+29 |
| | | | | | | | only have one level of subcommands No longer creating AutoCompleters for all subcommands each time tab is pressed | ||||
| * | Removed token_start_index from AutoCompleter's __init__ method | Kevin Van Brunt | 2019-08-12 | 1 | -3/+1 |
| | | |||||
| * | Removed need for AutoCompleter's token_start_index member | Kevin Van Brunt | 2019-08-12 | 1 | -13/+9 |
| | | |||||
| * | Sorting unsorted numbers list in ascending order in AutoCompleter | Kevin Van Brunt | 2019-07-20 | 1 | -0/+6 |
| | | |||||
| * | Changed all uses of sub-command to subcommand | Kevin Van Brunt | 2019-07-19 | 1 | -5/+5 |
| | | |||||
| * | Reduced complexity of complete() | Kevin Van Brunt | 2019-07-17 | 1 | -1/+1 |
| | | |||||
| * | Using action instead of action.dest as dictionary key | Kevin Van Brunt | 2019-07-16 | 1 | -12/+11 |
| | | |||||
| * | Removed unnecessary dictionary | Kevin Van Brunt | 2019-07-16 | 1 | -52/+51 |
| | | |||||
| * | Renamed matches_sort_key to default_sort_key and using it to sort additional d | Kevin Van Brunt | 2019-07-15 | 1 | -1/+1 |
| | | |||||
| * | Added ability to specify nargs ranges with no upper bound | Kevin Van Brunt | 2019-07-15 | 1 | -18/+4 |
| | | |||||
| * | Made a few module functions protected | Kevin Van Brunt | 2019-07-15 | 1 | -9/+9 |
| | | |||||
| * | Added more hint unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -2/+7 |
| | | |||||
| * | More unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -1/+1 |
| | | |||||
| * | Added unit tests for unfinished flag errors | Kevin Van Brunt | 2019-07-12 | 1 | -6/+2 |
| | | |||||
| * | Fixed issue where flag arg hints weren't always printing | Kevin Van Brunt | 2019-07-12 | 1 | -6/+13 |
| | | |||||
| * | Changed unfinished flag error format | Kevin Van Brunt | 2019-07-12 | 1 | -4/+6 |
| | | |||||
| * | Updated docs | Kevin Van Brunt | 2019-07-12 | 1 | -1/+1 |
| | | |||||
| * | Removed unused code | Kevin Van Brunt | 2019-07-12 | 1 | -32/+18 |
| | | |||||
| * | Fixed issue where flags did not always complete while in a positional | Kevin Van Brunt | 2019-07-12 | 1 | -9/+6 |
| | | |||||
| * | Added comments | Kevin Van Brunt | 2019-07-12 | 1 | -3/+7 |
| | | |||||
