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 | 1 | -129/+102 |
| | | | | | | | | | | 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. | ||||
* | 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 | 1 | -26/+29 |
| | |||||
* | ipy command now includes all of self.py_locals in the IPython environment | Kevin Van Brunt | 2021-03-24 | 1 | -25/+30 |
| | |||||
* | No longer using -1 as an exit codeexit_code | Kevin Van Brunt | 2021-03-23 | 1 | -2/+2 |
| | |||||
* | onecmd_plus_hooks() now sets self.exit_code when a SystemExit handled | Kevin Van Brunt | 2021-03-23 | 1 | -2/+4 |
| | |||||
* | 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 | 1 | -46/+106 |
| | |||||
* | Added tests | Eric Lin | 2021-03-18 | 1 | -8/+13 |
| | |||||
* | Each CommandSet's settables are defined separately. cmd2.Cmd searches all ↵ | Eric Lin | 2021-03-18 | 1 | -19/+40 |
| | | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Updated comments | Kevin Van Brunt | 2021-03-03 | 1 | -6/+7 |
| | |||||
* | Merge branch 'master' into formatted_completions | Kevin Van Brunt | 2021-03-02 | 1 | -22/+20 |
|\ | |||||
| * | Merge branch 'master' into history_fix | Kevin Van Brunt | 2021-03-02 | 1 | -0/+5 |
| |\ | |||||
| * | | Fixed issue where HistoryItem indexes were being reused | Kevin Van Brunt | 2021-02-23 | 1 | -22/+20 |
| | | | |||||
* | | | Added support for ANSI styles and newlines in tab completion results | Kevin Van Brunt | 2021-03-02 | 1 | -60/+70 |
| |/ |/| | |||||
* | | Added cmd2.exceptions.PassThroughExceptionexception_passthrough | Kevin Van Brunt | 2021-03-02 | 1 | -0/+5 |
|/ | |||||
* | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 1 | -18/+18 |
| | |||||
* | Fixed black, isort, flake8, and doc8 issues | Todd Leonhardt | 2021-02-19 | 1 | -78/+152 |
| | |||||
* | Merge branch 'master' into black | Todd Leonhardt | 2021-02-19 | 1 | -316/+287 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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 | -28/+29 |
| |\ | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| * \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-29 | 1 | -1/+7 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-28 | 1 | -2/+7 |
| |\ \ \ | |||||
| * | | | | Removed --silent flag from alias/macro create since startup scripts can be ↵ | Kevin Van Brunt | 2021-01-22 | 1 | -30/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -17/+76 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'master' into 2.0 | Todd Leonhardt | 2020-11-11 | 1 | -26/+79 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| * \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-17 | 1 | -15/+44 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Added section to completion docs about read_input() function | Kevin Van Brunt | 2020-09-09 | 1 | -0/+1 |
| | | | | | | | | |||||
| * | | | | | | | Moved two classes from cmd2.py to utils.py. | Kevin Van Brunt | 2020-09-09 | 1 | -44/+10 |
| | | | | | | | | |||||
| * | | | | | | | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-09 | 1 | -2/+1 |
| |\ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-09 | 1 | -2/+1 |
| | |\ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Made CustomCompletionSettings public since it's optionally passed to public ↵ | Kevin Van Brunt | 2020-09-05 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method cmd2.Cmd.complete(). | ||||
| * | | | | | | | | | Added pragma: no cover to some tab completion code | Kevin Van Brunt | 2020-09-05 | 1 | -7/+5 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Updated unit tests for read_input() | Kevin Van Brunt | 2020-09-05 | 1 | -2/+5 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-05 | 1 | -14/+35 |
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |||||
| | * | | | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-05 | 1 | -14/+35 |
| | |\ \ \ \ \ \ \ \ | |||||
| * | \ \ \ \ \ \ \ \ | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-03 | 1 | -2/+5 |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |||||
| | * | | | | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-03 | 1 | -2/+5 |
| | |\ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | Fixed flake8 error | Kevin Van Brunt | 2020-09-01 | 1 | -1/+4 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Removed enum.auto() for Python 3.5 compatibility | Kevin Van Brunt | 2020-09-01 | 1 | -3/+3 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Fixed docs error | Kevin Van Brunt | 2020-09-01 | 1 | -1/+2 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Updated comments | Kevin Van Brunt | 2020-09-01 | 1 | -1/+5 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Refactored ArgparseCompleter to support custom completion | Kevin Van Brunt | 2020-09-01 | 1 | -43/+29 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Refactored read_input to support custom completion | Kevin Van Brunt | 2020-08-31 | 1 | -59/+138 |
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Refactored complete() to handle custom behavior from read_input() | Kevin Van Brunt | 2020-08-31 | 1 | -74/+101 |
| |/ / / / / / / / / / | |||||
| * | | | | | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-28 | 1 | -9/+9 |
| |\ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-27 | 1 | -2/+2 |
| |\ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-25 | 1 | -2/+4 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-20 | 1 | -17/+27 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ |