Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added cmd2.exceptions.PassThroughExceptionexception_passthrough | Kevin Van Brunt | 2021-03-02 | 2 | -3/+36 |
| | |||||
* | Moved empty line check in table creator | Kevin Van Brunt | 2021-03-02 | 1 | -0/+8 |
| | |||||
* | Fixed issue where TableCreator was tossing blank last linestable_newline | Kevin Van Brunt | 2021-03-01 | 1 | -11/+45 |
| | |||||
* | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 5 | -43/+15 |
| | |||||
* | Fixed black, isort, flake8, and doc8 issues | Todd Leonhardt | 2021-02-19 | 5 | -158/+163 |
| | |||||
* | Merge branch 'master' into black | Todd Leonhardt | 2021-02-19 | 6 | -272/+278 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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 | Todd Leonhardt | 2021-01-31 | 1 | -2/+0 |
| |\ | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| * \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-29 | 2 | -13/+46 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-28 | 1 | -4/+13 |
| |\ \ \ | |||||
| * | | | | Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0. | Kevin Van Brunt | 2021-01-22 | 2 | -2/+2 |
| | | | | | |||||
| * | | | | Removed --silent flag from alias/macro create since startup scripts can be ↵ | Kevin Van Brunt | 2021-01-22 | 1 | -14/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run silently. Removed --with_silent flag from alias/macro list since startup scripts can be run silently. | ||||
| * | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-22 | 13 | -88/+146 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'master' into 2.0 | Todd Leonhardt | 2020-11-21 | 2 | -18/+59 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-11-12 | 1 | -0/+1 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Todd Leonhardt | 2020-11-11 | 1 | -10/+28 |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| * \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-17 | 2 | -0/+37 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Moved two classes from cmd2.py to utils.py. | Kevin Van Brunt | 2020-09-09 | 1 | -1/+0 |
| | | | | | | | | | | |||||
| * | | | | | | | | | 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 |
| | |\ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | Updated unit tests for read_input() | Kevin Van Brunt | 2020-09-05 | 2 | -0/+37 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-05 | 3 | -34/+73 |
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |||||
| | * | | | | | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-05 | 3 | -34/+73 |
| | |\ \ \ \ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-03 | 1 | -4/+4 |
| | |\ \ \ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | | | Refactored ArgparseCompleter to support custom completion | Kevin Van Brunt | 2020-09-01 | 1 | -6/+6 |
| | | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | | Refactored complete() to handle custom behavior from read_input() | Kevin Van Brunt | 2020-08-31 | 2 | -6/+6 |
| |/ / / / / / / / / / / / | |||||
| * | | | | | | | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-28 | 2 | -9/+54 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-27 | 3 | -4/+13 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-25 | 2 | -1/+24 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-20 | 2 | -20/+149 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | | | | | | 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 | 3 | -136/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 14 | -55/+171 |
| | | | | | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | | | | Attempt to fix remaining black failures | Todd Leonhardt | 2021-01-31 | 6 | -19/+113 |
| | | | | | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | | | | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 16 | -989/+1592 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | | | Remove all use of AppVeyor for Windows testing because it is slower than ↵ | Todd Leonhardt | 2021-01-30 | 1 | -2/+0 |
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GitHub Actions for the same purpose | ||||
* | | | | | | | | | | | | | | | Printing error when OSError other than FileNotFoundError occurs when ↵ | Kevin Van Brunt | 2021-01-29 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deleting persistent history file with history --clear command. | ||||
* | | | | | | | | | | | | | | | Added more validation to TableCreator | Kevin Van Brunt | 2021-01-29 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | | Fixed width calculation when table column headers had tabs | Kevin Van Brunt | 2021-01-28 | 1 | -12/+30 |
| |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | | Added option to run startup scripts silently | Kevin Van Brunt | 2021-01-22 | 1 | -4/+13 |
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 13 | -40/+134 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minor import changes. | ||||
* | | | | | | | | | | | | | Skip a test which is failing on Python 3.8 and 3.9 for now to fix a unit test | Todd Leonhardt | 2021-01-21 | 1 | -0/+1 |
| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | Fix unit test that was failing when EDITOR environment variable was seteditors | Todd Leonhardt | 2020-11-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | |||||
* | | | | | | | | | | | | | Updated utils.find_editor() to include more Windows editors | Kevin Van Brunt | 2020-11-19 | 1 | -49/+12 |
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | |||||
* | | | | | | | | | | | | feat(utils): probe editors in system path | Mikhail Ushanov | 2020-11-17 | 2 | -18/+59 |
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mikhail Ushanov <gm.mephisto@gmail.com> | ||||
* | | | | | | | | | | | Fixed bug where setting always_show_hint=True did not show a hint when ↵settable_hint | Kevin Van Brunt | 2020-11-12 | 1 | -0/+1 |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | completing Settables | ||||
* | | | | | | | | | | Format multiline docstrings to match other help messages | Bambu | 2020-10-09 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed cmd2 do_cmd to dedent docstrings using `pydoc.getdoc`. This patch provides output for docstrings that look like using argparse or a single line docstring | ||||
* | | | | | | | | | | Fixed issue where quoted redirectors and terminators in aliases and macros ↵ | Kevin Van Brunt | 2020-09-30 | 1 | -10/+13 |
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | were not being restored when read from a startup script. | ||||
* | | | | | | | | | Merge branch 'master' into silence | Kevin Van Brunt | 2020-09-17 | 1 | -0/+7 |
|\ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Minor type hinting fixes. | Eric Lin | 2020-09-11 | 1 | -0/+7 |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | |||||
* | | | | | | | | | Added --silent flag to alias/macro create. | Kevin Van Brunt | 2020-09-10 | 1 | -0/+30 |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Added --with_silent flag to alias/macro list. |