summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Added cmd2.exceptions.PassThroughExceptionexception_passthroughKevin Van Brunt2021-03-022-0/+20
|
* Moved empty line check in table creatorKevin Van Brunt2021-03-021-4/+5
|
* Fixed issue where TableCreator was tossing blank last linestable_newlineKevin Van Brunt2021-03-011-0/+4
|
* Fix error in Python 3.6Todd Leonhardt2021-02-211-2/+1
|
* Start making small changes to fix mypy warningsTodd Leonhardt2021-02-214-10/+26
|
* Deprecate Python 3.5Todd Leonhardt2021-02-205-46/+22
|
* Fixed black, isort, flake8, and doc8 issuesTodd Leonhardt2021-02-196-115/+220
|
* Merge branch 'master' into blackTodd Leonhardt2021-02-198-620/+469
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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.0Todd Leonhardt2021-01-311-28/+29
| |\ | | | | | | | | | | | | # Conflicts: # CHANGELOG.md
| * \ Merge branch 'master' into 2.0Kevin Van Brunt2021-01-293-20/+40
| |\ \
| * \ \ Merge branch 'master' into 2.0Kevin Van Brunt2021-01-282-2/+8
| |\ \ \
| * | | | Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.Kevin Van Brunt2021-01-222-45/+1
| | | | |
| * | | | Removed --silent flag from alias/macro create since startup scripts can be ↵Kevin Van Brunt2021-01-221-30/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run silently. Removed --with_silent flag from alias/macro list since startup scripts can be run silently.
| * | | | Merge branch 'master' into 2.0Kevin Van Brunt2021-01-2214-96/+291
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into 2.0Todd Leonhardt2020-11-211-21/+20
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-11-121-2/+6
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into 2.0Todd Leonhardt2020-11-114-49/+115
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md
| * \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-09-174-26/+84
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Added section to completion docs about read_input() functionKevin Van Brunt2020-09-091-0/+1
| | | | | | | | | |
| * | | | | | | | | Moved two classes from cmd2.py to utils.py.Kevin Van Brunt2020-09-096-55/+56
| | | | | | | | | |
| * | | | | | | | | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-092-3/+20
| |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-09-092-3/+20
| | |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Made CustomCompletionSettings public since it's optionally passed to public ↵Kevin Van Brunt2020-09-051-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method cmd2.Cmd.complete().
| * | | | | | | | | | | Added pragma: no cover to some tab completion codeKevin Van Brunt2020-09-051-7/+5
| | | | | | | | | | | |
| * | | | | | | | | | | Updated unit tests for read_input()Kevin Van Brunt2020-09-051-2/+5
| | | | | | | | | | | |
| * | | | | | | | | | | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-052-44/+73
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| | * | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-052-44/+73
| | |\ \ \ \ \ \ \ \ \ \
| * | \ \ \ \ \ \ \ \ \ \ Merge branch '2.0' into read_inputKevin Van Brunt2020-09-032-9/+26
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / /
| | * | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-032-9/+26
| | |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fixed flake8 errorKevin Van Brunt2020-09-011-1/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Removed enum.auto() for Python 3.5 compatibilityKevin Van Brunt2020-09-011-3/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Fixed docs errorKevin Van Brunt2020-09-011-1/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Updated commentsKevin Van Brunt2020-09-012-2/+6
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactored ArgparseCompleter to support custom completionKevin Van Brunt2020-09-013-67/+59
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactored read_input to support custom completionKevin Van Brunt2020-08-311-59/+138
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactored complete() to handle custom behavior from read_input()Kevin Van Brunt2020-08-311-74/+101
| |/ / / / / / / / / / / /
| * | | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-282-13/+13
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Removed Namespace.__statement__Kevin Van Brunt2020-08-272-4/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-274-18/+44
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-253-15/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-202-24/+39
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Documented support for standalone functions being used as completers and ↵Kevin Van Brunt2020-08-182-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | choices_providers. Added unit tests for this case.
| * | | | | | | | | | | | | | | | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-136-201/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 changesTodd Leonhardt2021-01-3113-47/+149
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Attempt to fix remaining black failuresTodd Leonhardt2021-01-311-13/+34
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Add black for automatic code formatTodd Leonhardt2021-01-3117-697/+964
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Fixed syntax error in `pip install` command for GitHub ActionsTodd Leonhardt2021-01-301-28/+29
| |_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Refactored do_history command to extract a helper method to fix a flake8 warning about high complexity
* | | | | | | | | | | | | | | Printing error when OSError other than FileNotFoundError occurs when ↵Kevin Van Brunt2021-01-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deleting persistent history file with history --clear command.
* | | | | | | | | | | | | | | Added more validation to TableCreatorKevin Van Brunt2021-01-291-0/+4
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge branch 'master' into header_tabsTodd Leonhardt2021-01-281-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \