summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | AutoCompleter now passes parsed_args to all choices and completer functionsKevin Van Brunt2019-08-221-14/+18
| |
* | Fixed warningKevin Van Brunt2019-08-131-4/+1
| |
* | Added capability for an argparse-based command's completer/choice functions ↵Kevin Van Brunt2019-08-131-28/+18
| | | | | | | | | | | | | | to receive a namespace of all arguments parsed up to token being completed. This will make it easier to have a previous argument's value affect what data is tab-completed.
* | Accounting for value of preserve_quotes when parsing for argparse tab completionKevin Van Brunt2019-08-131-7/+17
| |
* | Replaced AutoCompleter._positional_completers since an ArgumentParser can ↵Kevin Van Brunt2019-08-121-1/+1
|/ | | | | | only have one level of subcommands No longer creating AutoCompleters for all subcommands each time tab is pressed
* Small change for consistent code style in methodKevin Van Brunt2019-08-091-1/+1
|
* No longer treating empty text scripts as an error conditionKevin Van Brunt2019-08-081-2/+1
|
* Fixed commentsKevin Van Brunt2019-08-081-3/+4
|
* Do not print traceback warning text if debug is not a settable parameterKevin Van Brunt2019-08-081-1/+1
|
* Corrected docstringKevin Van Brunt2019-08-081-1/+1
|
* Merge branch 'master' into verify_command_namesTodd Leonhardt2019-08-071-4/+40
|\
| * Disabled tab completion during a select call.Kevin Van Brunt2019-08-071-4/+40
| | | | | | | | Added graceful handling of Ctrl-D during select. It now reprompts the user.
* | Fixed flake8 errorKevin Van Brunt2019-08-071-3/+3
| |
* | Verifying command names in __init__Kevin Van Brunt2019-08-071-0/+6
|/
* Removed ability for aliases and macros to share names with commandsKevin Van Brunt2019-08-051-27/+18
|
* Added terminators to completion delimitersKevin Van Brunt2019-08-021-51/+4
|
* Fixed inconsistent parsing/tab completion behavior based on the value of ↵Kevin Van Brunt2019-08-021-119/+103
| | | | | | `allow_redirection`. This flag is only meant to be a security setting that prevents redirection of stdout and should not alter parsing logic.
* Added terminators to cmd2.Cmd's docstringKevin Van Brunt2019-08-011-5/+10
|
* Creating directory of persistent history file if it does not existKevin Van Brunt2019-07-291-5/+15
|
* Added unit testsKevin Van Brunt2019-07-241-0/+1
|
* Added unit testsKevin Van Brunt2019-07-241-2/+4
|
* Fixed a few commands that would have failed if arguments containing quotes ↵Kevin Van Brunt2019-07-241-6/+6
| | | | were used
* Fixed bug where completer function of disabled command would still runKevin Van Brunt2019-07-241-4/+20
|
* Tab completion of macros should occur before completion of commands with the ↵Kevin Van Brunt2019-07-241-7/+7
| | | | same name
* Removed restriction on macros named after non-multiline commandsKevin Van Brunt2019-07-231-4/+3
| | | | Added unit tests
* Fixed quoting issueKevin Van Brunt2019-07-231-2/+6
|
* Suppressed some warningsKevin Van Brunt2019-07-231-3/+12
|
* Updated docstringsKevin Van Brunt2019-07-231-6/+6
|
* Fixed issue where some calls could have failed if the strings had spacesKevin Van Brunt2019-07-231-3/+3
|
* Fixed issue where run_pyscript failed if the script's filename had a spaceKevin Van Brunt2019-07-231-36/+53
|
* Added descriptions to some parsers to make them not rely on the docstringKevin Van Brunt2019-07-231-6/+7
|
* Added to a few methods to prevent the command token from being expandedKevin Van Brunt2019-07-231-18/+34
|
* Updated help textKevin Van Brunt2019-07-211-1/+1
|
* Changed error messagesKevin Van Brunt2019-07-211-2/+2
|
* Added flag to prevent a command from being added to historyKevin Van Brunt2019-07-211-7/+12
|
* Changed warning textKevin Van Brunt2019-07-211-1/+1
|
* Print warning if a user tries to run something other than a *.py file with ↵Todd Leonhardt2019-07-201-2/+8
| | | | run_pyscript and ask them if they want to continue
* Added pwarning()Todd Leonhardt2019-07-201-3/+10
|
* Print warning if a user tries to run a *.py file with run_script and ask ↵Todd Leonhardt2019-07-201-1/+8
| | | | them if they want to continue
* Renamed bridge to py_bridgeKevin Van Brunt2019-07-201-10/+10
|
* Added commentsKevin Van Brunt2019-07-201-2/+4
|
* Added constants for some hardcoded stringsKevin Van Brunt2019-07-201-22/+33
|
* Added a self.default_category attribute which gets set to 'Uncategorized'Todd Leonhardt2019-07-201-1/+3
|
* Removed need to suppress flake8 warningKevin Van Brunt2019-07-201-7/+7
|
* Fix bogus flake8 warning due to exec()'ed codeTodd Leonhardt2019-07-201-1/+1
|
* Removed something left in by accidentTodd Leonhardt2019-07-201-1/+0
|
* Much simpler solution for clipboard appendTodd Leonhardt2019-07-201-13/+5
|
* 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
|