| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed issue where argparse choices could not be CompletionItems | Kevin Van Brunt | 2021-03-02 | 1 | -0/+19 |
| | | |||||
| * | Added support for ANSI styles and newlines in tab completion results | Kevin Van Brunt | 2021-03-02 | 1 | -9/+14 |
| | | |||||
| * | Fixed black, isort, flake8, and doc8 issues | Todd Leonhardt | 2021-02-19 | 1 | -134/+136 |
| | | |||||
| * | Merge branch 'master' into black | Todd Leonhardt | 2021-02-19 | 1 | -208/+215 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # cmd2/__init__.py # cmd2/argparse_completer.py # cmd2/argparse_custom.py # cmd2/cmd2.py # cmd2/decorators.py # cmd2/exceptions.py # cmd2/utils.py # examples/arg_decorators.py # examples/argparse_completion.py # examples/modular_commands_main.py # tests/test_argparse_completer.py # tests/test_argparse_custom.py # tests/test_cmd2.py # tests/test_completion.py # tests/test_history.py | ||||
| | * | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-22 | 1 | -4/+17 |
| | |\ | |||||
| | * \ | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-09 | 1 | -26/+44 |
| | |\ \ | |||||
| | | * \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-09 | 1 | -26/+44 |
| | | |\ \ | |||||
| | * | \ \ | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-05 | 1 | -34/+70 |
| | |\ \ \ \ | | |/ / / | |||||
| | | * | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-05 | 1 | -34/+70 |
| | | |\ \ \ | |||||
| | * | | | | | Refactored ArgparseCompleter to support custom completion | Kevin Van Brunt | 2020-09-01 | 1 | -6/+6 |
| | |/ / / / | |||||
| | * | | | | Documented support for standalone functions being used as completers and ↵ | Kevin Van Brunt | 2020-08-18 | 1 | -0/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | choices_providers. Added unit tests for this case. | ||||
| | * | | | | Replaced choices_function / choices_method with choices_provider. | Kevin Van Brunt | 2020-08-13 | 1 | -114/+92 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced completer_function / completer_method with completer. ArgparseCompleter now always passes cmd2.Cmd or CommandSet instance as the self argument to choices_provider and completer functions. Moved basic_complete from utils into cmd2.Cmd class. Moved CompletionError to exceptions.py | ||||
| * | | | | | Add in isort changes | Todd Leonhardt | 2021-01-31 | 1 | -7/+21 |
| | | | | | | |||||
| * | | | | | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 1 | -361/+435 |
| | |_|_|/ |/| | | | |||||
| * | | | | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 1 | -4/+18 |
| | |_|/ |/| | | | | | | | | minor import changes. | ||||
| * | | | argparse tab completion now groups flag names which run the same action. ↵ | Kevin Van Brunt | 2020-09-09 | 1 | -26/+44 |
| | |/ |/| | | | | | | | | | Optional flags are wrapped in brackets like it is done in argparse usage text. | ||||
| * | | Added always_show_hint setting | Kevin Van Brunt | 2020-09-05 | 1 | -11/+45 |
| |/ | | | | Fixed issue where flag names weren't always sorted correctly in argparse tab completion | ||||
| * | Fixed tab completion bug when using CompletionItem on an argument whose ↵ | Kevin Van Brunt | 2020-08-13 | 1 | -5/+73 |
| | | | | | metavar is a tuple | ||||
| * | Added info on semantic versioning and branching strategy to CONTRIBUTING.md | Todd Leonhardt | 2020-04-24 | 1 | -2/+3 |
| | | | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes | ||||
| * | Added apply_style to CompletionError | Kevin Van Brunt | 2020-02-18 | 1 | -39/+0 |
| | | | | | 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 | -1/+41 |
| | | | | | _ActionCompletionError in some cases | ||||
| * | Updated unit test | Kevin Van Brunt | 2020-02-17 | 1 | -2/+5 |
| | | |||||
| * | Made CompletionError exception available to non-argparse tab completion | Kevin Van Brunt | 2020-02-17 | 1 | -2/+2 |
| | | |||||
| * | Renamed AutoCompleter to ArgparseCompleter for clarity | Kevin Van Brunt | 2020-02-17 | 1 | -12/+12 |
| | | |||||
| * | Increased code coverage in argparse_completer.py back to 100% | Kevin Van Brunt | 2019-12-10 | 1 | -2/+2 |
| | | |||||
| * | Removed all instances where a parser's prog attribute was being set since ↵ | Kevin Van Brunt | 2019-10-30 | 1 | -1/+1 |
| | | | | | this is no longer needed | ||||
| * | Added comment | Kevin Van Brunt | 2019-09-30 | 1 | -1/+1 |
| | | |||||
| * | Wrote unit tests | Kevin Van Brunt | 2019-09-30 | 1 | -9/+72 |
| | | |||||
| * | Simplifying tab completion message printing | Kevin Van Brunt | 2019-09-30 | 1 | -19/+1 |
| | | |||||
| * | Added unit tests for CompletionError | Kevin Van Brunt | 2019-09-23 | 1 | -1/+41 |
| | | |||||
| * | Fixed unit tests on Python versions older than 3.7 | Kevin Van Brunt | 2019-09-16 | 1 | -3/+3 |
| | | |||||
| * | Added unit test to override a parameter in a parent parser | Kevin Van Brunt | 2019-09-16 | 1 | -0/+6 |
| | | |||||
| * | Updated arg_tokens unit tests | Kevin Van Brunt | 2019-09-16 | 1 | -50/+15 |
| | | |||||
| * | Changed arg_tokens to a dictionary | Kevin Van Brunt | 2019-09-16 | 1 | -9/+9 |
| | | | | | Including tokens from parent parsers in arg_tokens when subcommands are used | ||||
| * | Fixed issue where invalid subcommand token was ignored when tab completing help | Kevin Van Brunt | 2019-09-13 | 1 | -0/+1 |
| | | |||||
| * | Increased code coverage | Kevin Van Brunt | 2019-09-13 | 1 | -1/+2 |
| | | |||||
| * | Added unit tests for arg_tokens | Kevin Van Brunt | 2019-09-13 | 1 | -0/+57 |
| | | |||||
| * | AutoCompleter only passes parsed_args to choices/completer functions that ↵ | Kevin Van Brunt | 2019-08-27 | 1 | -5/+5 |
| | | | | | have an argument called 'parsed_args' | ||||
| * | AutoCompleter now passes parsed_args to all choices and completer functions | Kevin Van Brunt | 2019-08-22 | 1 | -5/+5 |
| | | |||||
| * | Replaced AutoCompleter._positional_completers since an ArgumentParser can ↵ | Kevin Van Brunt | 2019-08-12 | 1 | -1/+1 |
| | | | | | | | only have one level of subcommands No longer creating AutoCompleters for all subcommands each time tab is pressed | ||||
| * | Fixed unit tests | Kevin Van Brunt | 2019-07-20 | 1 | -6/+15 |
| | | |||||
| * | Changed all uses of sub-command to subcommand | Kevin Van Brunt | 2019-07-19 | 1 | -4/+4 |
| | | |||||
| * | Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵ | Kevin Van Brunt | 2019-07-18 | 1 | -12/+12 |
| | | | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py. | ||||
| * | Added unit tests to cover invalid subcommand names in completions | Kevin Van Brunt | 2019-07-16 | 1 | -1/+24 |
| | | |||||
| * | Renamed matches_sort_key to default_sort_key and using it to sort additional d | Kevin Van Brunt | 2019-07-15 | 1 | -7/+7 |
| | | |||||
| * | Added ability to specify nargs ranges with no upper bound | Kevin Van Brunt | 2019-07-15 | 1 | -9/+2 |
| | | |||||
| * | Made a few module functions protected | Kevin Van Brunt | 2019-07-15 | 1 | -18/+18 |
| | | |||||
| * | Added more hint unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -29/+46 |
| | | |||||
| * | Simplified unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -19/+3 |
| | | |||||
| * | More unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -0/+3 |
| | | |||||
