summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* No longer using -1 as an exit codeexit_codeKevin Van Brunt2021-03-236-6/+7
|
* onecmd_plus_hooks() now sets self.exit_code when a SystemExit handledKevin Van Brunt2021-03-235-4/+16
|
* Updating commentEric Lin2021-03-231-1/+1
|
* Updated out of date commentEric Lin2021-03-231-1/+1
|
* Resolves comments from PREric Lin2021-03-1820-126/+385
|
* Some mypy validation fixesEric Lin2021-03-189-112/+121
|
* Added testsEric Lin2021-03-184-11/+131
|
* Each CommandSet's settables are defined separately. cmd2.Cmd searches all ↵Eric Lin2021-03-184-25/+116
| | | | | | | | registered CommandSets for settables. Settables can now set any attribute on any object passed to it. The name the user sees may be set to a different value than what the actual attribute is. Cmd2 will now aggregate all settables on the cmd2.Cmd instance with each installed CommandSet.
* Corrected help text for alias commandKevin Van Brunt2021-03-182-2/+3
|
* Added link for command_definition moduleKevin Van Brunt2021-03-081-0/+2
|
* Updated commentsKevin Van Brunt2021-03-031-6/+7
|
* Merge pull request #1069 from python-cmd2/completion_item_choicesTodd Leonhardt2021-03-022-2/+24
|\ | | | | Fixed issue where argparse choices could not be CompletionItems
| * Fixed issue where argparse choices could not be CompletionItemsKevin Van Brunt2021-03-022-2/+24
|/
* Merge pull request #1068 from python-cmd2/formatted_completionsKevin Van Brunt2021-03-028-92/+144
|\ | | | | Formatted completions
| * Made changes requested in code reviewKevin Van Brunt2021-03-022-2/+2
| |
| * Updated change logKevin Van Brunt2021-03-021-0/+1
| |
| * Updated tab completion exampleKevin Van Brunt2021-03-021-3/+4
| |
| * Merge branch 'master' into formatted_completionsKevin Van Brunt2021-03-024-194/+154
| |\ | |/ |/|
* | Merge pull request #1065 from python-cmd2/history_fixKevin Van Brunt2021-03-024-194/+154
|\ \ | | | | | | History fix
| * \ Merge branch 'master' into history_fixKevin Van Brunt2021-03-026-3/+60
| |\ \ | |/ / |/| |
| * | Merge branch 'master' into history_fixhistory_fixTodd Leonhardt2021-03-022-4/+13
| |\ \
| * \ \ Update CHANGELOG with info on recent bug fix PRTodd Leonhardt2021-03-013-13/+52
| |\ \ \
| * | | | Updated change logKevin Van Brunt2021-03-011-0/+2
| | | | |
| * | | | Fixed issue where HistoryItem indexes were being reusedKevin Van Brunt2021-02-233-194/+153
| | | | |
| | | | * Added support for ANSI styles and newlines in tab completion resultsKevin Van Brunt2021-03-027-89/+139
| |_|_|/ |/| | |
* | | | Merge pull request #1067 from python-cmd2/exception_passthroughKevin Van Brunt2021-03-026-3/+60
|\ \ \ \ | |_|_|/ |/| | | Added cmd2.exceptions.PassThroughException
| * | | Added cmd2.exceptions.PassThroughExceptionexception_passthroughKevin Van Brunt2021-03-026-3/+60
|/ / /
* | | Moved empty line check in table creatorKevin Van Brunt2021-03-022-4/+13
| |/ |/|
* | Merge pull request #1066 from python-cmd2/table_newlineTodd Leonhardt2021-03-013-12/+52
|\ \ | |/ |/| Fixed issue where TableCreator was tossing blank last lines
| * Fixed issue where TableCreator was tossing blank last linestable_newlineKevin Van Brunt2021-03-013-12/+52
|/
* Merge pull request #1060 from python-cmd2/mypyTodd Leonhardt2021-02-225-9/+25
|\ | | | | Start making small changes to fix mypy warnings
| * Fix error in Python 3.6Todd Leonhardt2021-02-211-2/+1
| |
| * Start making small changes to fix mypy warningsTodd Leonhardt2021-02-215-10/+27
|/
* Merge pull request #1059 from python-cmd2/deprecate_35Todd Leonhardt2021-02-2123-123/+72
|\ | | | | Deprecate support for Python 3.5
| * Updated README and CHANGELOGTodd Leonhardt2021-02-202-2/+3
| |
| * Deprecate Python 3.5Todd Leonhardt2021-02-2021-121/+69
|/
* Merge pull request #1052 from python-cmd2/blackTodd Leonhardt2021-02-2091-1945/+3177
|\ | | | | Add black and isort GitHub Action Workflows
| * Fixed black, isort, flake8, and doc8 issuesTodd Leonhardt2021-02-1916-320/+445
| |
| * Merge branch 'master' into blackTodd Leonhardt2021-02-1928-1109/+1010
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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 pull request #1055 from python-cmd2/2.0Todd Leonhardt2021-02-1827-795/+853
|\ \ | | | | | | Merging in 2.0 branch
| * \ Merge branch 'master' into 2.02.0Todd Leonhardt2021-02-141-1/+1
| |\ \ | |/ / |/| |
* | | Merge pull request #1057 from korygill/patch-1Todd Leonhardt2021-02-141-1/+1
|\ \ \ | | | | | | | | Update modular_commands.rst
| * | | Update modular_commands.rstKory Gill2021-02-131-1/+1
|/ / / | | | | | | Minor fix to use cmd2 intead of cmd in example text.
| * | Merge branch 'master' into 2.0Kevin Van Brunt2021-02-111-1/+3
| |\ \ | |/ / |/| |
| * | Merge branch 'master' into 2.0Kevin Van Brunt2021-02-095-7/+52
| |\ \
| * | | Fixed typo in change logKevin Van Brunt2021-02-011-1/+1
| | | |
| * | | Merge branch 'master' into 2.0Todd Leonhardt2021-01-3117-155/+154
| |\ \ \ | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md
| * \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2021-01-2912-42/+112
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2021-01-287-6/+35
| |\ \ \ \ \
| * | | | | | Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.Kevin Van Brunt2021-01-225-47/+4
| | | | | | |