Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy.py_refactor | Kevin Van Brunt | 2021-03-26 | 23 | -289/+231 |
| | | | | | | | | | | Added include_py keyword parameter to cmd2.Cmd.__init__(). If False, then the py command will not be available. Removed ability to run Python commands from the command line with py. Made banners and exit messages of Python and IPython consistent. Changed utils.is_text_file() to raise OSError if file cannot be read. | ||||
* | Merge pull request #1080 from python-cmd2/ipy_locals | Kevin Van Brunt | 2021-03-26 | 3 | -67/+66 |
|\ | | | | | ipy command now includes all of self.py_locals in the IPython environment | ||||
| * | Fixed type hintsipy_locals | Kevin Van Brunt | 2021-03-25 | 1 | -5/+2 |
| | | |||||
| * | Removed ipy's access to the CLI's globals() dictionary | Kevin Van Brunt | 2021-03-24 | 2 | -35/+33 |
| | | |||||
| * | ipy command now includes all of self.py_locals in the IPython environment | Kevin Van Brunt | 2021-03-24 | 3 | -38/+42 |
|/ | |||||
* | Merge pull request #1079 from python-cmd2/autospec_doc_updates | kotfu | 2021-03-23 | 1 | -13/+37 |
|\ | | | | | Update autospec mock documentation | ||||
| * | Update autospec mock documentation | kotfu | 2021-03-23 | 1 | -13/+37 |
|/ | |||||
* | Fixed colors example code | Kevin Van Brunt | 2021-03-23 | 1 | -4/+4 |
| | |||||
* | Fixed docs creation errors | Kevin Van Brunt | 2021-03-23 | 1 | -0/+3 |
| | |||||
* | Merge pull request #1078 from python-cmd2/exit_code | Kevin Van Brunt | 2021-03-23 | 7 | -10/+23 |
|\ | | | | | onecmd_plus_hooks() now sets self.exit_code when a SystemExit handled | ||||
| * | No longer using -1 as an exit codeexit_code | Kevin Van Brunt | 2021-03-23 | 6 | -6/+7 |
| | | |||||
| * | onecmd_plus_hooks() now sets self.exit_code when a SystemExit handled | Kevin Van Brunt | 2021-03-23 | 5 | -4/+16 |
|/ | |||||
* | Updating comment | Eric Lin | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Updated out of date comment | Eric Lin | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Resolves comments from PR | Eric Lin | 2021-03-18 | 20 | -126/+385 |
| | |||||
* | Some mypy validation fixes | Eric Lin | 2021-03-18 | 9 | -112/+121 |
| | |||||
* | Added tests | Eric Lin | 2021-03-18 | 4 | -11/+131 |
| | |||||
* | Each CommandSet's settables are defined separately. cmd2.Cmd searches all ↵ | Eric Lin | 2021-03-18 | 4 | -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 command | Kevin Van Brunt | 2021-03-18 | 2 | -2/+3 |
| | |||||
* | Added link for command_definition module | Kevin Van Brunt | 2021-03-08 | 1 | -0/+2 |
| | |||||
* | Updated comments | Kevin Van Brunt | 2021-03-03 | 1 | -6/+7 |
| | |||||
* | Merge pull request #1069 from python-cmd2/completion_item_choices | Todd Leonhardt | 2021-03-02 | 2 | -2/+24 |
|\ | | | | | Fixed issue where argparse choices could not be CompletionItems | ||||
| * | Fixed issue where argparse choices could not be CompletionItems | Kevin Van Brunt | 2021-03-02 | 2 | -2/+24 |
|/ | |||||
* | Merge pull request #1068 from python-cmd2/formatted_completions | Kevin Van Brunt | 2021-03-02 | 8 | -92/+144 |
|\ | | | | | Formatted completions | ||||
| * | Made changes requested in code review | Kevin Van Brunt | 2021-03-02 | 2 | -2/+2 |
| | | |||||
| * | Updated change log | Kevin Van Brunt | 2021-03-02 | 1 | -0/+1 |
| | | |||||
| * | Updated tab completion example | Kevin Van Brunt | 2021-03-02 | 1 | -3/+4 |
| | | |||||
| * | Merge branch 'master' into formatted_completions | Kevin Van Brunt | 2021-03-02 | 4 | -194/+154 |
| |\ | |/ |/| | |||||
* | | Merge pull request #1065 from python-cmd2/history_fix | Kevin Van Brunt | 2021-03-02 | 4 | -194/+154 |
|\ \ | | | | | | | History fix | ||||
| * \ | Merge branch 'master' into history_fix | Kevin Van Brunt | 2021-03-02 | 6 | -3/+60 |
| |\ \ | |/ / |/| | | |||||
| * | | Merge branch 'master' into history_fixhistory_fix | Todd Leonhardt | 2021-03-02 | 2 | -4/+13 |
| |\ \ | |||||
| * \ \ | Update CHANGELOG with info on recent bug fix PR | Todd Leonhardt | 2021-03-01 | 3 | -13/+52 |
| |\ \ \ | |||||
| * | | | | Updated change log | Kevin Van Brunt | 2021-03-01 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | Fixed issue where HistoryItem indexes were being reused | Kevin Van Brunt | 2021-02-23 | 3 | -194/+153 |
| | | | | | |||||
| | | | * | Added support for ANSI styles and newlines in tab completion results | Kevin Van Brunt | 2021-03-02 | 7 | -89/+139 |
| |_|_|/ |/| | | | |||||
* | | | | Merge pull request #1067 from python-cmd2/exception_passthrough | Kevin Van Brunt | 2021-03-02 | 6 | -3/+60 |
|\ \ \ \ | |_|_|/ |/| | | | Added cmd2.exceptions.PassThroughException | ||||
| * | | | Added cmd2.exceptions.PassThroughExceptionexception_passthrough | Kevin Van Brunt | 2021-03-02 | 6 | -3/+60 |
|/ / / | |||||
* | | | Moved empty line check in table creator | Kevin Van Brunt | 2021-03-02 | 2 | -4/+13 |
| |/ |/| | |||||
* | | Merge pull request #1066 from python-cmd2/table_newline | Todd Leonhardt | 2021-03-01 | 3 | -12/+52 |
|\ \ | |/ |/| | Fixed issue where TableCreator was tossing blank last lines | ||||
| * | Fixed issue where TableCreator was tossing blank last linestable_newline | Kevin Van Brunt | 2021-03-01 | 3 | -12/+52 |
|/ | |||||
* | Merge pull request #1060 from python-cmd2/mypy | Todd Leonhardt | 2021-02-22 | 5 | -9/+25 |
|\ | | | | | Start making small changes to fix mypy warnings | ||||
| * | Fix error in Python 3.6 | Todd Leonhardt | 2021-02-21 | 1 | -2/+1 |
| | | |||||
| * | Start making small changes to fix mypy warnings | Todd Leonhardt | 2021-02-21 | 5 | -10/+27 |
|/ | |||||
* | Merge pull request #1059 from python-cmd2/deprecate_35 | Todd Leonhardt | 2021-02-21 | 23 | -123/+72 |
|\ | | | | | Deprecate support for Python 3.5 | ||||
| * | Updated README and CHANGELOG | Todd Leonhardt | 2021-02-20 | 2 | -2/+3 |
| | | |||||
| * | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 21 | -121/+69 |
|/ | |||||
* | Merge pull request #1052 from python-cmd2/black | Todd Leonhardt | 2021-02-20 | 91 | -1945/+3177 |
|\ | | | | | Add black and isort GitHub Action Workflows | ||||
| * | Fixed black, isort, flake8, and doc8 issues | Todd Leonhardt | 2021-02-19 | 16 | -320/+445 |
| | | |||||
| * | Merge branch 'master' into black | Todd Leonhardt | 2021-02-19 | 28 | -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.0 | Todd Leonhardt | 2021-02-18 | 27 | -795/+853 |
|\ \ | | | | | | | Merging in 2.0 branch |