summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into sigint_protectionKevin Van Brunt2019-07-183-23/+23
|\
| * Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵Kevin Van Brunt2019-07-183-23/+23
| | | | | | | | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py.
* | Renamed some variablesKevin Van Brunt2019-07-181-8/+8
| |
* | Added sigint protection while entering/leaving cmd2 and Python interactive ↵Kevin Van Brunt2019-07-181-117/+182
|/ | | | shells
* Revert "Added sigint protection while entering/leaving cmd2 and Python ↵Kevin Van Brunt2019-07-181-182/+117
| | | | | | interactive shells." This reverts commit 28acfbff590749c3356db528036877f16ffec4cf.
* Added sigint protection while entering/leaving cmd2 and Python interactive ↵Kevin Van Brunt2019-07-181-117/+182
| | | | shells.
* Added unit tests for tab completing multiline commandsKevin Van Brunt2019-07-171-1/+1
|
* Reduced complexity of complete()Kevin Van Brunt2019-07-173-213/+208
|
* Merge branch 'master' into multi-completionKevin Van Brunt2019-07-172-4/+7
|\
| * Fixed bug where multiline commands were having leading and ending spaces ↵Kevin Van Brunt2019-07-171-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 Brunt2019-07-171-3/+6
| | | | | | | | weren't different
* | Enabled tab completion of multiline commandsKevin Van Brunt2019-07-171-13/+30
|/
* Changed formatting of an error messageKevin Van Brunt2019-07-171-0/+2
|
* Using action instead of action.dest as dictionary keyKevin Van Brunt2019-07-161-12/+11
|
* Removed unnecessary dictionaryKevin Van Brunt2019-07-161-52/+51
|
* Merge branch 'master' into default_sort_keyKevin Van Brunt2019-07-161-5/+6
|\
| * Fixed documentation for run_script and renamed history optionKevin Van Brunt2019-07-161-5/+6
| |
* | Merge branch 'master' into default_sort_keyKevin Van Brunt2019-07-161-1/+1
|\ \ | |/
| * After some discussion, revert check for callable on _onchange_ hookskotfu2019-07-161-1/+1
| |
| * Fix feedback from PRkotfu2019-07-151-1/+1
| | | | | | | | only try to call `onchange_hook` if it’s a callable.
| * Merge branch 'master' into migrating_docsTodd Leonhardt2019-07-155-1289/+1232
| |\
| * | Fix pylint warningkotfu2019-07-141-1/+1
| | |
* | | Moved the sorting of shortcuts into StatementParser which allows users to ↵Kevin Van Brunt2019-07-163-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 dKevin Van Brunt2019-07-152-19/+19
| |/ |/|
* | Changed format of help where nargs is a number greater than 1Kevin Van Brunt2019-07-151-0/+2
| |
* | Added ability to specify nargs ranges with no upper boundKevin Van Brunt2019-07-152-31/+74
| |
* | Updated documentationKevin Van Brunt2019-07-151-2/+2
| |
* | Make max_completion_items settableKevin Van Brunt2019-07-151-5/+7
| |
* | Made a few module functions protectedKevin Van Brunt2019-07-151-9/+9
| |
* | Added more hint unit testsKevin Van Brunt2019-07-121-2/+7
| |
* | More unit testsKevin Van Brunt2019-07-121-1/+1
| |
* | Added unit tests for unfinished flag errorsKevin Van Brunt2019-07-121-6/+2
| |
* | Fixed issue where flag arg hints weren't always printingKevin Van Brunt2019-07-121-6/+13
| |
* | Fixed flake8 warningKevin Van Brunt2019-07-121-1/+1
| |
* | Changed unfinished flag error formatKevin Van Brunt2019-07-121-4/+6
| |
* | Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-123-20/+20
| |
* | Updated docsKevin Van Brunt2019-07-121-1/+1
| |
* | Removed unused codeKevin Van Brunt2019-07-121-32/+18
| |
* | Fixed issue where flags did not always complete while in a positionalKevin Van Brunt2019-07-121-9/+6
| |
* | Added commentsKevin Van Brunt2019-07-121-3/+7
| |
* | More refactoringKevin Van Brunt2019-07-121-3/+25
| |
* | Refactored much of AutoCompleter.complete_command.Kevin Van Brunt2019-07-111-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 importedKevin Van Brunt2019-07-111-5/+5
| |
* | Changes suggested in code reviewKevin Van Brunt2019-07-111-5/+4
| |
* | Removed unused code and add unit testKevin Van Brunt2019-07-111-17/+4
| |
* | Updated documentationKevin Van Brunt2019-07-112-31/+46
| |
* | Added documentationKevin Van Brunt2019-07-112-54/+101
| |
* | Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-112-29/+29
|\ \ | |/
| * Restore self.statement_parser to a public attribute in cmd2.CmdTodd Leonhardt2019-07-102-29/+29
| |
* | Small refactoringKevin Van Brunt2019-07-101-16/+11
| |