summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed unit testsTodd Leonhardt2019-07-201-0/+7
|
* Removed unecessary line of codeTodd Leonhardt2019-07-201-2/+1
|
* Moved common code out of if/elseTodd Leonhardt2019-07-201-4/+3
|
* Fix code that appends to clipboardTodd Leonhardt2019-07-201-5/+10
|
* Renamed PyscriptBridge to PyBridgeKevin Van Brunt2019-07-201-13/+13
|
* Fixed issue where ipy wasn't using the correct name for the PyscriptBridgeKevin Van Brunt2019-07-201-40/+53
| | | | Renamed some class members for clarification purposes
* Small refactorKevin Van Brunt2019-07-191-2/+6
|
* Replaced uses of ansi_aware_write with appropriate wrapper functions.Kevin Van Brunt2019-07-191-9/+11
| | | | Made help command format for argparse commands the same as using "command -h"
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-191-10/+10
|
* Merge branch 'master' into sigint_protectionKevin Van Brunt2019-07-181-17/+17
|\
| * Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵Kevin Van Brunt2019-07-181-17/+17
| | | | | | | | | | | | 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-171-211/+206
|
* Merge branch 'master' into multi-completionKevin Van Brunt2019-07-171-1/+1
|\
| * 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.
* | Enabled tab completion of multiline commandsKevin Van Brunt2019-07-171-13/+30
|/
* Changed formatting of an error messageKevin Van Brunt2019-07-171-0/+2
|
* 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-151-124/+103
| |\
| * | Fix pylint warningkotfu2019-07-141-1/+1
| | |
* | | Moved the sorting of shortcuts into StatementParser which allows users to ↵Kevin Van Brunt2019-07-161-5/+4
| | | | | | | | | | | | 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-151-18/+18
| |/ |/|
* | Make max_completion_items settableKevin Van Brunt2019-07-151-5/+7
| |
* | Fixed flake8 warningKevin Van Brunt2019-07-121-1/+1
| |
* | Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-121-16/+16
| |
* | Updated documentationKevin Van Brunt2019-07-111-3/+3
| |
* | Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-111-28/+28
|\ \ | |/
| * Restore self.statement_parser to a public attribute in cmd2.CmdTodd Leonhardt2019-07-101-28/+28
| |
* | Small refactoring to simplify codeKevin Van Brunt2019-07-101-3/+1
| |
* | Moved all custom argparse classes intended for normal development to ↵Kevin Van Brunt2019-07-071-2/+4
| | | | | | | | | | | | | | argparse_custom.py. Lazy loading AutoCompleter in cmd2 instance methods to allow argparse_completer.py to import cmd2.Cmd class. This Architecture makes more sense because AutoCompleter depends on cmd2.Cmd.
* | Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-061-44/+41
|\ \ | |/
| * Added autoclass documentation for cmd2.Cmd in cmd.rstTodd Leonhardt2019-07-061-44/+41
| | | | | | | | This required whitespace tweaks to a number of docstrings.
* | More unit testsKevin Van Brunt2019-07-061-3/+3
| |
* | Added ability to limit how many CompletionItems display at a timeKevin Van Brunt2019-07-061-0/+5
| |
* | Display set command tab-completion results as CompletionItemsKevin Van Brunt2019-07-061-6/+6
| |
* | Made alias and macro tab completion lookup results use CompletionItemsKevin Van Brunt2019-07-061-16/+16
| |
* | Using argparse constants instead of hardcoded stringsKevin Van Brunt2019-07-041-10/+15
| |
* | Made optional args on completers keyword-onlyKevin Van Brunt2019-07-041-7/+7
| |
* | Moved cmd2 custom argparse types to argparse_custom.pyKevin Van Brunt2019-07-031-17/+18
| | | | | | | | Rename ACArgumentParser to Cmd2ArgParser
* | Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-031-28/+5
|\ \ | |/
| * Removed typoKevin Van Brunt2019-07-031-1/+1
| |
| * Removed import of Collection since we are no longer calling len() on the ↵Kevin Van Brunt2019-07-031-29/+6
| | | | | | | | variables that needed it