Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Send all startup script paths to run_script. Previously we didn't do this if the | Kevin Van Brunt | 2019-10-18 | 1 | -2/+2 | |
| | | | | file was empty, but that showed no record of the run_script command in history. | |||||
* | Fixed a comment | Todd Leonhardt | 2019-10-08 | 1 | -1/+1 | |
| | ||||||
* | Fixed ValueError exception which can occur when opening an old format ↵ | Todd Leonhardt | 2019-10-07 | 1 | -1/+2 | |
| | | | | persistent history file with a new version of cmd2 | |||||
* | AutoCompleter now handles mutually exclusive groups | Kevin Van Brunt | 2019-09-27 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug introduced by get_names() looking at self instead of self.__class__. | Kevin Van Brunt | 2019-09-24 | 1 | -16/+9 | |
| | | | | Help functions for hidden and disabled commands were not being filtered out as help topics. | |||||
* | Added in_script() and in_pyscript() to cmd2.Cmd class | Kevin Van Brunt | 2019-09-23 | 1 | -7/+15 | |
| | ||||||
* | Gave startup_script a default of '' instead of None | Kevin Van Brunt | 2019-09-20 | 1 | -2/+2 | |
| | ||||||
* | No longer printing all help text for alias and macro when the subcommand is ↵ | Kevin Van Brunt | 2019-09-17 | 1 | -23/+17 | |
| | | | | omitted. Instead allow argparse to handle the error. | |||||
* | Merge branch 'master' into completion_state | Kevin Van Brunt | 2019-09-16 | 1 | -0/+4 | |
|\ | ||||||
| * | Modified get_names() method to allow dynamically adding do_* commands to ↵ | Todd Leonhardt | 2019-09-15 | 1 | -0/+4 | |
| | | | | | | | | instances at runtime | |||||
* | | Changed arg_tokens to a dictionary | Kevin Van Brunt | 2019-09-16 | 1 | -3/+3 | |
| | | | | | | | | Including tokens from parent parsers in arg_tokens when subcommands are used | |||||
* | | Merge branch 'completion_state' of github.com:python-cmd2/cmd2 into ↵ | Kevin Van Brunt | 2019-09-13 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | completion_state | |||||
| * \ | Merge branch 'master' into completion_state | Kevin Van Brunt | 2019-09-07 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | Make pyperclip failure error message more specific | Todd Leonhardt | 2019-09-04 | 1 | -1/+1 | |
| | | | ||||||
* | | | Change parsed_args to arg_tokens | Kevin Van Brunt | 2019-09-13 | 1 | -12/+7 | |
|/ / | | | | | | | Including the token being completed in arg_tokens | |||||
* | | AutoCompleter only passes parsed_args to choices/completer functions that ↵ | Kevin Van Brunt | 2019-08-27 | 1 | -16/+11 | |
| | | | | | | | | have an argument called 'parsed_args' | |||||
* | | AutoCompleter now passes parsed_args to all choices and completer functions | Kevin Van Brunt | 2019-08-22 | 1 | -14/+18 | |
| | | ||||||
* | | Fixed warning | Kevin Van Brunt | 2019-08-13 | 1 | -4/+1 | |
| | | ||||||
* | | Added capability for an argparse-based command's completer/choice functions ↵ | Kevin Van Brunt | 2019-08-13 | 1 | -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 completion | Kevin Van Brunt | 2019-08-13 | 1 | -7/+17 | |
| | | ||||||
* | | Replaced AutoCompleter._positional_completers since an ArgumentParser can ↵ | Kevin Van Brunt | 2019-08-12 | 1 | -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 method | Kevin Van Brunt | 2019-08-09 | 1 | -1/+1 | |
| | ||||||
* | No longer treating empty text scripts as an error condition | Kevin Van Brunt | 2019-08-08 | 1 | -2/+1 | |
| | ||||||
* | Fixed comments | Kevin Van Brunt | 2019-08-08 | 1 | -3/+4 | |
| | ||||||
* | Do not print traceback warning text if debug is not a settable parameter | Kevin Van Brunt | 2019-08-08 | 1 | -1/+1 | |
| | ||||||
* | Corrected docstring | Kevin Van Brunt | 2019-08-08 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' into verify_command_names | Todd Leonhardt | 2019-08-07 | 1 | -4/+40 | |
|\ | ||||||
| * | Disabled tab completion during a select call. | Kevin Van Brunt | 2019-08-07 | 1 | -4/+40 | |
| | | | | | | | | Added graceful handling of Ctrl-D during select. It now reprompts the user. | |||||
* | | Fixed flake8 error | Kevin Van Brunt | 2019-08-07 | 1 | -3/+3 | |
| | | ||||||
* | | Verifying command names in __init__ | Kevin Van Brunt | 2019-08-07 | 1 | -0/+6 | |
|/ | ||||||
* | Removed ability for aliases and macros to share names with commands | Kevin Van Brunt | 2019-08-05 | 1 | -27/+18 | |
| | ||||||
* | Added terminators to completion delimiters | Kevin Van Brunt | 2019-08-02 | 1 | -51/+4 | |
| | ||||||
* | Fixed inconsistent parsing/tab completion behavior based on the value of ↵ | Kevin Van Brunt | 2019-08-02 | 1 | -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 docstring | Kevin Van Brunt | 2019-08-01 | 1 | -5/+10 | |
| | ||||||
* | Creating directory of persistent history file if it does not exist | Kevin Van Brunt | 2019-07-29 | 1 | -5/+15 | |
| | ||||||
* | Added unit tests | Kevin Van Brunt | 2019-07-24 | 1 | -0/+1 | |
| | ||||||
* | Added unit tests | Kevin Van Brunt | 2019-07-24 | 1 | -2/+4 | |
| | ||||||
* | Fixed a few commands that would have failed if arguments containing quotes ↵ | Kevin Van Brunt | 2019-07-24 | 1 | -6/+6 | |
| | | | | were used | |||||
* | Fixed bug where completer function of disabled command would still run | Kevin Van Brunt | 2019-07-24 | 1 | -4/+20 | |
| | ||||||
* | Tab completion of macros should occur before completion of commands with the ↵ | Kevin Van Brunt | 2019-07-24 | 1 | -7/+7 | |
| | | | | same name | |||||
* | Removed restriction on macros named after non-multiline commands | Kevin Van Brunt | 2019-07-23 | 1 | -4/+3 | |
| | | | | Added unit tests | |||||
* | Fixed quoting issue | Kevin Van Brunt | 2019-07-23 | 1 | -2/+6 | |
| | ||||||
* | Suppressed some warnings | Kevin Van Brunt | 2019-07-23 | 1 | -3/+12 | |
| | ||||||
* | Updated docstrings | Kevin Van Brunt | 2019-07-23 | 1 | -6/+6 | |
| | ||||||
* | Fixed issue where some calls could have failed if the strings had spaces | Kevin Van Brunt | 2019-07-23 | 1 | -3/+3 | |
| | ||||||
* | Fixed issue where run_pyscript failed if the script's filename had a space | Kevin Van Brunt | 2019-07-23 | 1 | -36/+53 | |
| | ||||||
* | Added descriptions to some parsers to make them not rely on the docstring | Kevin Van Brunt | 2019-07-23 | 1 | -6/+7 | |
| | ||||||
* | Added to a few methods to prevent the command token from being expanded | Kevin Van Brunt | 2019-07-23 | 1 | -18/+34 | |
| | ||||||
* | Updated help text | Kevin Van Brunt | 2019-07-21 | 1 | -1/+1 | |
| | ||||||
* | Changed error messages | Kevin Van Brunt | 2019-07-21 | 1 | -2/+2 | |
| |