Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into sigint_protection | Kevin Van Brunt | 2019-07-18 | 3 | -23/+23 |
|\ | |||||
| * | Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵ | Kevin Van Brunt | 2019-07-18 | 3 | -23/+23 |
| | | | | | | | | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py. | ||||
* | | Renamed some variables | Kevin Van Brunt | 2019-07-18 | 1 | -8/+8 |
| | | |||||
* | | Added sigint protection while entering/leaving cmd2 and Python interactive ↵ | Kevin Van Brunt | 2019-07-18 | 1 | -117/+182 |
|/ | | | | shells | ||||
* | Revert "Added sigint protection while entering/leaving cmd2 and Python ↵ | Kevin Van Brunt | 2019-07-18 | 1 | -182/+117 |
| | | | | | | interactive shells." This reverts commit 28acfbff590749c3356db528036877f16ffec4cf. | ||||
* | Added sigint protection while entering/leaving cmd2 and Python interactive ↵ | Kevin Van Brunt | 2019-07-18 | 1 | -117/+182 |
| | | | | shells. | ||||
* | Added unit tests for tab completing multiline commands | Kevin Van Brunt | 2019-07-17 | 1 | -1/+1 |
| | |||||
* | Reduced complexity of complete() | Kevin Van Brunt | 2019-07-17 | 3 | -213/+208 |
| | |||||
* | Merge branch 'master' into multi-completion | Kevin Van Brunt | 2019-07-17 | 2 | -4/+7 |
|\ | |||||
| * | Fixed bug where multiline commands were having leading and ending spaces ↵ | Kevin Van Brunt | 2019-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | stripped. This would mess up quoted strings that crossed multiple lines. | ||||
| * | Fixed bug where was sometimes showing raw and expanded commands when they ↵ | Kevin Van Brunt | 2019-07-17 | 1 | -3/+6 |
| | | | | | | | | weren't different | ||||
* | | Enabled tab completion of multiline commands | Kevin Van Brunt | 2019-07-17 | 1 | -13/+30 |
|/ | |||||
* | Changed formatting of an error message | Kevin Van Brunt | 2019-07-17 | 1 | -0/+2 |
| | |||||
* | Using action instead of action.dest as dictionary key | Kevin Van Brunt | 2019-07-16 | 1 | -12/+11 |
| | |||||
* | Removed unnecessary dictionary | Kevin Van Brunt | 2019-07-16 | 1 | -52/+51 |
| | |||||
* | Merge branch 'master' into default_sort_key | Kevin Van Brunt | 2019-07-16 | 1 | -5/+6 |
|\ | |||||
| * | Fixed documentation for run_script and renamed history option | Kevin Van Brunt | 2019-07-16 | 1 | -5/+6 |
| | | |||||
* | | Merge branch 'master' into default_sort_key | Kevin Van Brunt | 2019-07-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | After some discussion, revert check for callable on _onchange_ hooks | kotfu | 2019-07-16 | 1 | -1/+1 |
| | | |||||
| * | Fix feedback from PR | kotfu | 2019-07-15 | 1 | -1/+1 |
| | | | | | | | | only try to call `onchange_hook` if it’s a callable. | ||||
| * | Merge branch 'master' into migrating_docs | Todd Leonhardt | 2019-07-15 | 5 | -1289/+1232 |
| |\ | |||||
| * | | Fix pylint warning | kotfu | 2019-07-14 | 1 | -1/+1 |
| | | | |||||
* | | | Moved the sorting of shortcuts into StatementParser which allows users to ↵ | Kevin Van Brunt | 2019-07-16 | 3 | -11/+13 |
| | | | | | | | | | | | | pass in a dictionary instead of a tuple for shortcuts. | ||||
* | | | Renamed matches_sort_key to default_sort_key and using it to sort additional d | Kevin Van Brunt | 2019-07-15 | 2 | -19/+19 |
| |/ |/| | |||||
* | | Changed format of help where nargs is a number greater than 1 | Kevin Van Brunt | 2019-07-15 | 1 | -0/+2 |
| | | |||||
* | | Added ability to specify nargs ranges with no upper bound | Kevin Van Brunt | 2019-07-15 | 2 | -31/+74 |
| | | |||||
* | | Updated documentation | Kevin Van Brunt | 2019-07-15 | 1 | -2/+2 |
| | | |||||
* | | Make max_completion_items settable | Kevin Van Brunt | 2019-07-15 | 1 | -5/+7 |
| | | |||||
* | | Made a few module functions protected | Kevin Van Brunt | 2019-07-15 | 1 | -9/+9 |
| | | |||||
* | | Added more hint unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -2/+7 |
| | | |||||
* | | More unit tests | Kevin Van Brunt | 2019-07-12 | 1 | -1/+1 |
| | | |||||
* | | Added unit tests for unfinished flag errors | Kevin Van Brunt | 2019-07-12 | 1 | -6/+2 |
| | | |||||
* | | Fixed issue where flag arg hints weren't always printing | Kevin Van Brunt | 2019-07-12 | 1 | -6/+13 |
| | | |||||
* | | Fixed flake8 warning | Kevin Van Brunt | 2019-07-12 | 1 | -1/+1 |
| | | |||||
* | | Changed unfinished flag error format | Kevin Van Brunt | 2019-07-12 | 1 | -4/+6 |
| | | |||||
* | | Renamed Cmd2ArgParser to ArgParser | Kevin Van Brunt | 2019-07-12 | 3 | -20/+20 |
| | | |||||
* | | Updated docs | Kevin Van Brunt | 2019-07-12 | 1 | -1/+1 |
| | | |||||
* | | Removed unused code | Kevin Van Brunt | 2019-07-12 | 1 | -32/+18 |
| | | |||||
* | | Fixed issue where flags did not always complete while in a positional | Kevin Van Brunt | 2019-07-12 | 1 | -9/+6 |
| | | |||||
* | | Added comments | Kevin Van Brunt | 2019-07-12 | 1 | -3/+7 |
| | | |||||
* | | More refactoring | Kevin Van Brunt | 2019-07-12 | 1 | -3/+25 |
| | | |||||
* | | Refactored much of AutoCompleter.complete_command. | Kevin Van Brunt | 2019-07-11 | 1 | -188/+203 |
| | | | | | | | | | | Fixed issue where negative numbers did not tab complete. AutoCompleter now prints an error if flags are left unfinished before moving to next argument. | ||||
* | | Changed how re is being imported | Kevin Van Brunt | 2019-07-11 | 1 | -5/+5 |
| | | |||||
* | | Changes suggested in code review | Kevin Van Brunt | 2019-07-11 | 1 | -5/+4 |
| | | |||||
* | | Removed unused code and add unit test | Kevin Van Brunt | 2019-07-11 | 1 | -17/+4 |
| | | |||||
* | | Updated documentation | Kevin Van Brunt | 2019-07-11 | 2 | -31/+46 |
| | | |||||
* | | Added documentation | Kevin Van Brunt | 2019-07-11 | 2 | -54/+101 |
| | | |||||
* | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-11 | 2 | -29/+29 |
|\ \ | |/ | |||||
| * | Restore self.statement_parser to a public attribute in cmd2.Cmd | Todd Leonhardt | 2019-07-10 | 2 | -29/+29 |
| | | |||||
* | | Small refactoring | Kevin Van Brunt | 2019-07-10 | 1 | -16/+11 |
| | |