Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug in `parse_command_only` | kotfu | 2018-09-09 | 1 | -33/+76 |
| | | | | More robust unit tests identified a bug, which is also fixed in this commit. | ||||
* | Docstring updates | Kevin Van Brunt | 2018-09-09 | 2 | -14/+14 |
| | |||||
* | Took a stab at improving documentation and unit tests for ↵ | Todd Leonhardt | 2018-09-08 | 1 | -10/+50 |
| | | | | | | Statement.parse_command_only() Also slightly improved a few other unit tests | ||||
* | Use attrs on Statement object to do immutability | Todd Leonhardt | 2018-09-06 | 1 | -1/+15 |
| | |||||
* | Add back previously removed tests for statement.args | kotfu | 2018-09-05 | 1 | -2/+45 |
| | |||||
* | Using empty strings and lists instead of None for default values in Statment | Kevin Van Brunt | 2018-09-01 | 1 | -27/+30 |
| | |||||
* | Merge branch 'master' into quoted_args | Todd Leonhardt | 2018-08-27 | 3 | -12/+10 |
|\ | |||||
| * | Merge branch 'master' into ac_parser | Todd Leonhardt | 2018-08-24 | 1 | -0/+75 |
| |\ | |||||
| * | | ACHelpFormatter now inherits from argparse.RawTextHelpFormatter to make it ↵ | Kevin Van Brunt | 2018-08-24 | 3 | -12/+10 |
| | | | | | | | | | | | | easier to format help/description text | ||||
* | | | Merge branch 'master' into quoted_args | Kevin Van Brunt | 2018-08-24 | 1 | -0/+75 |
|\ \ \ | | |/ | |/| | |||||
| * | | Added a couple unit tests of the exit code feature | Todd Leonhardt | 2018-08-23 | 1 | -0/+75 |
| |/ | |||||
* | | Removed Statement.args since it was redundant. Replaced with already parsed ↵ | Kevin Van Brunt | 2018-08-23 | 1 | -98/+83 |
| | | | | | | | | list of args with quotes preserved. | ||||
* | | Fixed bug where alias was dropping quotes | Kevin Van Brunt | 2018-08-23 | 1 | -0/+9 |
|/ | |||||
* | Updated changelog | Todd Leonhardt | 2018-08-21 | 1 | -0/+14 |
| | | | | | Also: - Added unit tests for get_all_commands() and get_help_topcis() methods | ||||
* | Allow newlines inside unclosed quotes. Fixes #495 | kotfu | 2018-08-08 | 1 | -1/+16 |
| | |||||
* | parse_command_only now appropriately sets multiline_command | kotfu | 2018-08-08 | 1 | -0/+10 |
| | |||||
* | Add unit tests to validate embedded newline parsing | kotfu | 2018-08-06 | 1 | -1/+18 |
| | |||||
* | Added more unit tests for utils.py | Todd Leonhardt | 2018-08-02 | 1 | -2/+38 |
| | |||||
* | Addeded utility function for combining unicode normalization and casefolding ↵ | Todd Leonhardt | 2018-08-02 | 1 | -0/+16 |
| | | | | | | | | into a single step Also: - Updated the alphabetical sort utility function to use this - Started adding explicit unit tests for functions in utils.py | ||||
* | Updated docs and unit tests | Kevin Van Brunt | 2018-08-02 | 1 | -1/+1 |
| | |||||
* | Added alphabetical_sort() function | Kevin Van Brunt | 2018-08-01 | 1 | -1/+1 |
| | |||||
* | Added matches_sorted member to support custom sorting order of ↵ | Kevin Van Brunt | 2018-08-01 | 1 | -3/+3 |
| | | | | | | | tab-completion matches Made all sorting alphabetical Fixed case where extra slash was printing when tab completing users on Windows | ||||
* | Add test to assert cmd2.__version__ exists | kotfu | 2018-07-29 | 1 | -0/+3 |
| | |||||
* | Use setuptools_scm for version numbers | kotfu | 2018-07-29 | 1 | -4/+0 |
| | |||||
* | Fix unit test on VSTS Hosted Linux agents | Todd Leonhardt | 2018-07-17 | 1 | -2/+8 |
| | |||||
* | Attempt at fixing WSL unit test bug #472 | Todd Leonhardt | 2018-07-17 | 1 | -3/+3 |
| | |||||
* | Merged master with bug fix for #474 | Todd Leonhardt | 2018-07-17 | 1 | -5/+18 |
|\ | |||||
| * | Bug fix and unit tests for #474 | kotfu | 2018-07-16 | 1 | -4/+18 |
| | | |||||
* | | Started updating CHANGELOG | Todd Leonhardt | 2018-07-16 | 1 | -1/+1 |
| | | | | | | | | | | | | Also: - Bumped version to 0.9.4 - Updated info in Readme and Sphinx docs to reflect new dependency on attrs | ||||
* | | Add tests for StatementParser() created with no arguments. | kotfu | 2018-07-15 | 1 | -0/+26 |
| | | |||||
* | | Fix for #417, call preparse() | kotfu | 2018-07-15 | 1 | -0/+24 |
| | | |||||
* | | Resolved merge conflict from merging master into plugin_functions | Todd Leonhardt | 2018-07-12 | 2 | -13/+108 |
|\ \ | |/ | |||||
| * | Added a session-scoped test fixture to ensure teardown of the persistent ↵ | Todd Leonhardt | 2018-07-12 | 1 | -14/+22 |
| | | | | | | | | | | | | | | history file Also: - Switched to writing the file in the temp directory | ||||
| * | Added unit tests for persistent history file | Kevin Van Brunt | 2018-07-12 | 1 | -0/+63 |
| | | |||||
| * | Added unit tests | Kevin Van Brunt | 2018-07-12 | 1 | -4/+29 |
| | | |||||
| * | Merge branch 'master' into history | Kevin Van Brunt | 2018-07-12 | 1 | -0/+15 |
| |\ | |||||
| * | | Added --clear argument to history command | Kevin Van Brunt | 2018-07-11 | 2 | -9/+8 |
| | | | | | | | | | | | | | | | | | | Added better error checking when loading readline history file Improved some error messages Changed IOError usages to OSError since they were merged in Python 3.3. | ||||
* | | | Merge branch 'master' into plugin_functions | Todd Leonhardt | 2018-07-11 | 1 | -0/+15 |
|\ \ \ | | |/ | |/| | |||||
| * | | Added a couple simple unit tests for the case where onecmd accepts a raw string | Todd Leonhardt | 2018-07-10 | 1 | -0/+15 |
| |/ | |||||
* | | Merge branch 'master' into plugin_functions | kotfu | 2018-07-05 | 1 | -13/+14 |
|\ \ | |/ | |||||
| * | Bumped version to 0.9.3 now that 0.9.2 release is out | Todd Leonhardt | 2018-06-28 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.9.2 in preparation for release | Todd Leonhardt | 2018-06-28 | 1 | -1/+1 |
| | | |||||
| * | Deprecated CmdResult helper class and promoted CommandResult | Todd Leonhardt | 2018-06-23 | 1 | -12/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | These classes are subtly different, particularly in terms of their truthiness. CmdResult - attributes: out, err, war - truthy: if err is falsy CommandResult - attributes: stdout, stderr, data - truthy: if err is falsy AND data is not None So CmdResult was oriented to provide essentially info, error, and warning messages to the user (typically as stirngs), whereas CommandResult is geared towards providing info and error messages to the user as strings in addition to data to the user in a command-specific format which is arbitrary other than it should never be None if the command succeeds. | ||||
* | | Add command finalization hooks | kotfu | 2018-07-05 | 1 | -3/+139 |
| | | |||||
* | | Postcommand hooks implemented | kotfu | 2018-06-22 | 1 | -26/+172 |
| | | |||||
* | | Revise precommand hooks to use `data` parameter | kotfu | 2018-06-21 | 1 | -7/+7 |
| | | |||||
* | | Use `data` instead of `params` | kotfu | 2018-06-21 | 1 | -12/+12 |
| | | |||||
* | | Revised postparsing hooks | kotfu | 2018-06-21 | 1 | -6/+52 |
| | | |||||
* | | Merge branch 'master' into plugin_functions | kotfu | 2018-06-21 | 1 | -5/+5 |
|\ \ | |/ | | | | | | | # Conflicts: # cmd2/cmd2.py | ||||
| * | Moved clipboard/pastebuffer functionality to new file clipboard.py | Todd Leonhardt | 2018-06-18 | 1 | -5/+5 |
| | | | | | | | | | | Also: - Converted global can_clip variable to an instance attribute of cmd2.Cmd class |