Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Removed Statekeeper class and renamed some variables | Kevin Van Brunt | 2019-03-19 | 1 | -39/+18 | |
| | | ||||||
| * | Keeping track of redirection for each command | Kevin Van Brunt | 2019-03-19 | 1 | -69/+82 | |
| | | ||||||
| * | Simplified quit_on_sigint handling | Kevin Van Brunt | 2019-03-18 | 1 | -27/+16 | |
| | | ||||||
* | | Now consistently use -t flag for transcript generation for both history and ↵ | Todd Leonhardt | 2019-03-19 | 1 | -4/+3 | |
| | | | | | | | | load commands | |||||
* | | Combined two conditionals | Todd Leonhardt | 2019-03-19 | 1 | -5/+3 | |
| | | ||||||
* | | Updated CHANGELOG | Todd Leonhardt | 2019-03-19 | 1 | -14/+10 | |
| | | | | | | | | | | | | Also: - Removed guard clauses which kmvanbrunt promises will be unecessary with his upcoming change - Moved transcript path validation inside _generate_transcript() | |||||
* | | Addressed review comments | Todd Leonhardt | 2019-03-18 | 1 | -7/+17 | |
| | | ||||||
* | | Merge branch 'master' into load_generate_transcript | Todd Leonhardt | 2019-03-18 | 1 | -61/+77 | |
|\ \ | |/ | ||||||
| * | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-17 | 1 | -10/+25 | |
| |\ | ||||||
| * | | Updated CHANGELOG and fixed a typo in a type hint | Todd Leonhardt | 2019-03-16 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-16 | 1 | -4/+19 | |
| |\ \ | ||||||
| * | | | Aliases are now stored within the StatementParser instance | Todd Leonhardt | 2019-03-16 | 1 | -5/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Added read-only aliases property to cmd2.Cmd to get aliases from the StatementParser - Added a setter for the allow_redirection property in cmd2.Cmd - Made some initialization code more self-documenting | |||||
| * | | | Converted dynamic class attributes to instance attributes | Todd Leonhardt | 2019-03-14 | 1 | -31/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following attritubes which are intended to be dynamically settable at runtime are now instance attributes: - colors - continuation_prompt - debug - echo - editor - feedback_to_output - locals_in_py - quiet - timing - settable Also: - Moved code for finding a default editor to a function in utils and set a new DEFAULT_EDITOR class attribute with the return value of that | |||||
| * | | | Converted class attributes which aren't intended to be dynamically settable ↵ | Todd Leonhardt | 2019-03-14 | 1 | -7/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to instance attributes The following are now instance attributes: - allow_cli_args - default_to_shell - quit_on_sigint The following class attribute was deleted due to lack of use: - reserved_words The following instance attribute was deleted due to lack of use: - keywords | |||||
| * | | | Made several attributes of StatementParser immutable | Todd Leonhardt | 2019-03-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following attributes within StatementParser were converted from mutable lists to immutable tuples: - terminators - multiline_commands - shortcuts | |||||
| * | | | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-14 | 1 | -3/+16 | |
| |\ \ \ | ||||||
| * | | | | First stage of attribute refactoring | Todd Leonhardt | 2019-03-13 | 1 | -20/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following are now arguments to cmd2.Cmd.__init__() instead of class attributes: * allow_redirection * multiline_commands * terminators * shortcuts Added a couple read-only properties for convenience of cmd2.Cmd accessing immutable members from self.statement_parser | |||||
| * | | | | Fixed accidental paste typo | Todd Leonhardt | 2019-03-13 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Cleaned up some PyCharm warnings | Todd Leonhardt | 2019-03-13 | 1 | -3/+13 | |
| | | | | | ||||||
* | | | | | Added load -r flag for recording a transcript based on a script file | Todd Leonhardt | 2019-03-18 | 1 | -11/+27 | |
| |_|_|/ |/| | | | | | | | | | | | The load command now supports the -r/--record_transcript flag for recording a transcript file based on a script file. | |||||
* | | | | Updated documentation | Kevin Van Brunt | 2019-03-16 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Added Statement object to argparse Namespace passed to wrapped functions | Kevin Van Brunt | 2019-03-16 | 1 | -10/+25 | |
| |_|/ |/| | | ||||||
* | | | Added help_error and default_error | Kevin Van Brunt | 2019-03-16 | 1 | -5/+9 | |
| | | | ||||||
* | | | Support colors in help and disabled command errors | Kevin Van Brunt | 2019-03-16 | 1 | -4/+7 | |
| | | | ||||||
* | | | Help command now writes to stderr when there is no help information | Kevin Van Brunt | 2019-03-14 | 1 | -4/+12 | |
| |/ |/| | ||||||
* | | Updated documentation | Kevin Van Brunt | 2019-03-14 | 1 | -0/+8 | |
| | | ||||||
* | | Added ability to place the command name in a disabled command message. This ↵ | Kevin Van Brunt | 2019-03-13 | 1 | -1/+5 | |
| | | | | | | | | is useful when disabling an entire category of commands. | |||||
* | | Writing to stderr in default() and _report_disabled_command_usage() to make ↵ | Kevin Van Brunt | 2019-03-13 | 1 | -2/+3 | |
|/ | | | | it easy to detect an error in pyscript | |||||
* | Merge branch 'master' into history_improvements | Kevin Van Brunt | 2019-03-12 | 1 | -7/+3 | |
|\ | ||||||
| * | Small refactor | Kevin Van Brunt | 2019-03-12 | 1 | -7/+3 | |
| | | ||||||
* | | Incorporating requested changes from the PR | kotfu | 2019-03-10 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'history_improvements' of github.com:python-cmd2/cmd2 into ↵ | kotfu | 2019-03-10 | 1 | -7/+114 | |
|\ \ | |/ | | | | | history_improvements | |||||
| * | Changed DisabledCommand into a namedtuple | Kevin Van Brunt | 2019-03-10 | 1 | -10/+5 | |
| | | ||||||
| * | Fixed long line warning | Kevin Van Brunt | 2019-03-10 | 1 | -1/+2 | |
| | | ||||||
| * | Fixed long line warning | Kevin Van Brunt | 2019-03-10 | 1 | -1/+2 | |
| | | ||||||
| * | Added function to report that a disabled command has been run. | Kevin Van Brunt | 2019-03-10 | 1 | -4/+16 | |
| | | | | | | | | Not adding disabled commands to the history when run. | |||||
| * | Updated examples and documentation pertaining to disabling commands | Kevin Van Brunt | 2019-03-10 | 1 | -2/+3 | |
| | | ||||||
| * | Fixed another Flake warning | Kevin Van Brunt | 2019-03-10 | 1 | -4/+2 | |
| | | ||||||
| * | Fixed flake warnings | Kevin Van Brunt | 2019-03-09 | 1 | -4/+4 | |
| | | ||||||
| * | Added unit tests for disabling commands | Kevin Van Brunt | 2019-03-09 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'master' into disable_command | Kevin Van Brunt | 2019-03-09 | 1 | -1/+1 | |
| |\ | ||||||
| | * | Only print a traceback if there is one to print | Kevin Van Brunt | 2019-03-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Added way to disable commands | Kevin Van Brunt | 2019-03-09 | 1 | -4/+103 | |
| |/ | ||||||
* | | Clean up history command | kotfu | 2019-03-09 | 1 | -7/+14 | |
|/ | ||||||
* | Updated a comment and moved an import | Kevin Van Brunt | 2019-03-06 | 1 | -1/+1 | |
| | ||||||
* | Moved some utility functions from cmd2.py to parsing.py | Todd Leonhardt | 2019-03-05 | 1 | -33/+5 | |
| | ||||||
* | Fix flake8 failure | Todd Leonhardt | 2019-03-05 | 1 | -1/+0 | |
| | ||||||
* | Reversed arguments in a Union | Kevin Van Brunt | 2019-03-05 | 1 | -4/+4 | |
| | ||||||
* | Added a shlex.split() wrapper to have a common way of calling it. | Kevin Van Brunt | 2019-03-05 | 1 | -36/+47 | |
| | | | | Replaced parse_quoted_string with _get_command_arg_list. | |||||
* | Merged master into this branch and resolved conflicts in CHANGELOG | Todd Leonhardt | 2019-03-04 | 1 | -149/+44 | |
|\ |