Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved code from deprecated postparsing_postcmd into _run_cmdfinalization_hooks | Kevin Van Brunt | 2018-09-12 | 1 | -6/+8 |
| | |||||
* | Fix bug in `parse_command_only` | kotfu | 2018-09-09 | 1 | -7/+8 |
| | | | | More robust unit tests identified a bug, which is also fixed in this commit. | ||||
* | Docstring updates | Kevin Van Brunt | 2018-09-09 | 1 | -11/+11 |
| | |||||
* | Added/updated documentation for `Statement` | kotfu | 2018-09-09 | 1 | -15/+73 |
| | |||||
* | Took a stab at improving documentation and unit tests for ↵ | Todd Leonhardt | 2018-09-08 | 1 | -0/+1 |
| | | | | | | Statement.parse_command_only() Also slightly improved a few other unit tests | ||||
* | Simplified override of __new__ | Todd Leonhardt | 2018-09-06 | 1 | -13/+2 |
| | | | | Eliminated redundant type information, since that is all being provided by attr.ib() calls | ||||
* | Use attrs on Statement object to do immutability | Todd Leonhardt | 2018-09-06 | 1 | -59/+40 |
| | |||||
* | Replace previously removed Statement initialization parameters | kotfu | 2018-09-05 | 1 | -2/+3 |
| | | | | Statement is a subclass of str. Statement.__new__ should behave like str.__new__. Meaning it should accept any object as it’s argument, and our extended initialization parameters (i.e. command, arg_list) should not be allowed as positional arguments, only named arguments. | ||||
* | Add back previously removed tests for statement.args | kotfu | 2018-09-05 | 1 | -1/+1 |
| | |||||
* | Made it possible for editors like Pycharm to see members of Statement in tab ↵ | Kevin Van Brunt | 2018-09-05 | 1 | -40/+37 |
| | | | | completion. This also fixed many warnings. | ||||
* | Updated docstring | Kevin Van Brunt | 2018-09-05 | 1 | -1/+1 |
| | |||||
* | Updated alias help text | Kevin Van Brunt | 2018-09-05 | 1 | -1/+1 |
| | |||||
* | Updated comment | Kevin Van Brunt | 2018-09-02 | 1 | -1/+1 |
| | |||||
* | Updated comment | Kevin Van Brunt | 2018-09-01 | 1 | -3/+2 |
| | |||||
* | Removed unused import | Kevin Van Brunt | 2018-09-01 | 1 | -1/+1 |
| | |||||
* | Using empty strings and lists instead of None for default values in Statment | Kevin Van Brunt | 2018-09-01 | 2 | -65/+72 |
| | |||||
* | No longer returning None from tokens_for_completion() | Kevin Van Brunt | 2018-09-01 | 1 | -26/+26 |
| | |||||
* | Merge branch 'master' into quoted_args | Todd Leonhardt | 2018-08-27 | 2 | -11/+9 |
|\ | |||||
| * | Merge branch 'master' into ac_parser | Todd Leonhardt | 2018-08-24 | 1 | -0/+6 |
| |\ | |||||
| * | | ACHelpFormatter now inherits from argparse.RawTextHelpFormatter to make it ↵ | Kevin Van Brunt | 2018-08-24 | 2 | -11/+9 |
| | | | | | | | | | | | | easier to format help/description text | ||||
* | | | Merge branch 'master' into quoted_args | Kevin Van Brunt | 2018-08-24 | 1 | -0/+6 |
|\ \ \ | | |/ | |/| | |||||
| * | | Added way of returning a non-zero exit code to the shell | Todd Leonhardt | 2018-08-23 | 1 | -0/+6 |
| |/ | |||||
* | | Removed Statement.args since it was redundant. Replaced with already parsed ↵ | Kevin Van Brunt | 2018-08-23 | 2 | -25/+14 |
| | | | | | | | | list of args with quotes preserved. | ||||
* | | No longer returning None from arg_list | Kevin Van Brunt | 2018-08-23 | 1 | -3/+3 |
| | | |||||
* | | Fixed bug where alias was dropping quotes | Kevin Van Brunt | 2018-08-23 | 2 | -22/+41 |
|/ | |||||
* | Deleted a line which was added to support the SubMenu feature | Todd Leonhardt | 2018-08-22 | 1 | -1/+0 |
| | | | | The SubMenu feature is now a plugin in a separate repo and is no longer part of the main cmd2 package. | ||||
* | Fixed get_all_commands and get_help_topics to only return function names | Kevin Van Brunt | 2018-08-21 | 1 | -2/+4 |
| | |||||
* | Fixed type hinting for select function | Kevin Van Brunt | 2018-08-21 | 1 | -1/+1 |
| | |||||
* | Allow newlines inside unclosed quotes. Fixes #495 | kotfu | 2018-08-08 | 1 | -3/+24 |
| | |||||
* | parse_command_only now appropriately sets multiline_command | kotfu | 2018-08-08 | 1 | -4/+11 |
| | |||||
* | Addeded utility function for combining unicode normalization and casefolding ↵ | Todd Leonhardt | 2018-08-02 | 1 | -6/+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 argparse_completer to automatically set the matches_sorted flag for ↵ | Eric Lin | 2018-08-01 | 1 | -0/+1 |
| | | | | tabular results. Updated the example to demonstrate pre-sorted tabular results. | ||||
* | Added alphabetical_sort() function | Kevin Van Brunt | 2018-08-01 | 2 | -7/+14 |
| | |||||
* | Added matches_sorted member to support custom sorting order of ↵ | Kevin Van Brunt | 2018-08-01 | 2 | -17/+40 |
| | | | | | | | tab-completion matches Made all sorting alphabetical Fixed case where extra slash was printing when tab completing users on Windows | ||||
* | Fix Sphinx warning in preparse docstring | Todd Leonhardt | 2018-07-30 | 1 | -2/+2 |
| | |||||
* | Use setuptools_scm for version numbers | kotfu | 2018-07-29 | 2 | -4/+10 |
| | |||||
* | Merged master with bug fix for #474 | Todd Leonhardt | 2018-07-17 | 1 | -10/+8 |
|\ | |||||
| * | Bug fix and unit tests for #474 | kotfu | 2018-07-16 | 1 | -10/+8 |
| | | |||||
* | | 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 usage warning to preparse() for #417 | kotfu | 2018-07-15 | 1 | -3/+13 |
| | | |||||
* | | Fix for #417, call preparse() | kotfu | 2018-07-15 | 1 | -1/+1 |
| | | |||||
* | | Resolved merge conflict from merging master into plugin_functions | Todd Leonhardt | 2018-07-12 | 2 | -63/+62 |
|\ \ | |/ | |||||
| * | Merge branch 'master' into history | Todd Leonhardt | 2018-07-12 | 2 | -38/+0 |
| |\ | |||||
| | * | Deleted the CmdResult helper class | Todd Leonhardt | 2018-07-11 | 2 | -38/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | The CmdResult helper class was deprecated in the previous release. This commit deletes it. - The new CommandResult class is an improved replacement Also: - Deleted the namedtuple_with_two_defaults helper function which is now no longer used | ||||
| * | | Merge branch 'master' into history | Kevin Van Brunt | 2018-07-12 | 1 | -2/+7 |
| |\ \ | | |/ | |||||
| * | | Added --clear argument to history command | Kevin Van Brunt | 2018-07-11 | 2 | -24/+61 |
| | | | | | | | | | | | | | | | | | | 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 | -2/+7 |
|\ \ \ | | |/ | |/| | |||||
| * | | Allow onecmd to accept a raw string for backward compatibility with cmd | Todd Leonhardt | 2018-07-10 | 1 | -2/+7 |
| |/ | | | | | | | This addresses #464 | ||||
* | | Merge branch 'master' into plugin_functions | kotfu | 2018-07-10 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use instance attribute for terminators | Kyle Sunden | 2018-07-10 | 1 | -1/+1 |
| | | | | | | If the `terminators` is the default, `None`, the function fails because the local variable was not updated. |