Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Made the amount of space between columns in a SimpleTable configurablecolumn_spacing | Kevin Van Brunt | 2021-04-21 | 3 | -11/+37 |
| | |||||
* | Fixed typo in docstring | Kevin Van Brunt | 2021-04-21 | 1 | -1/+1 |
| | |||||
* | Increased unit test coverage for pexcept() | Kevin Van Brunt | 2021-04-13 | 1 | -0/+28 |
| | |||||
* | Updated main code to use f-strings | Kevin Van Brunt | 2021-04-13 | 9 | -162/+125 |
| | |||||
* | Add mypy validation action | Eric Lin | 2021-04-06 | 3 | -2/+30 |
| | |||||
* | And that's the last of it. Passes mypy. | Eric Lin | 2021-04-06 | 12 | -80/+126 |
| | |||||
* | history, py_bridge, transcript now passs mypy | Eric Lin | 2021-04-06 | 4 | -37/+48 |
| | |||||
* | Command function formats defined and decorators.py updated with the defined ↵ | Eric Lin | 2021-04-06 | 2 | -22/+71 |
| | | | | signatures | ||||
* | More mypy fixes | Eric Lin | 2021-04-06 | 5 | -51/+81 |
| | |||||
* | Replaced some pexcept() calls with perror(). | Kevin Van Brunt | 2021-04-02 | 8 | -58/+46 |
| | | | | | | Converted some strings to f-strings. Fixed some grammar in error messages and docs. Increased code coverage. | ||||
* | Refactored _perform_completion() to remove need for a cast() call | Kevin Van Brunt | 2021-04-02 | 3 | -26/+23 |
| | | | | Changed CommandResult.stderr to a str instead of Optional[str] | ||||
* | More mypy validation changes. cmd2.py is nearly fully mypy compliant now. | Eric Lin | 2021-04-02 | 7 | -69/+91 |
| | |||||
* | More things to make mypy happy. | Eric Lin | 2021-04-02 | 9 | -174/+240 |
| | |||||
* | MyPy strict checking doesn't allow implicit exports. Must explicitly export ↵ | Eric Lin | 2021-04-02 | 1 | -0/+41 |
| | | | | in __init__.py | ||||
* | Changed History to use OrderDict to support Python 3.6 in non-CPython ↵ | Kevin Van Brunt | 2021-03-30 | 2 | -7/+10 |
| | | | | environments. | ||||
* | Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy. | Kevin Van Brunt | 2021-03-30 | 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 |
| |_|_|/ |/| | | |