Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed 2 bugs in ppaged(): | Kevin Van Brunt | 2019-11-23 | 1 | -4/+8 | |
| | | | | | - end was not being passed to poutput() - msg object was not being converted string before empty string check | |||||
* | Updated arguments to pfeedback and ppaged for consistency with other cmd2 ↵ | Kevin Van Brunt | 2019-11-23 | 1 | -43/+46 | |
| | | | | print functions | |||||
* | Added capability to override the argument parser class used by cmd2 built-in ↵ | Kevin Van Brunt | 2019-11-19 | 1 | -18/+18 | |
| | | | | commands | |||||
* | Reformatted warning message | Kevin Van Brunt | 2019-11-18 | 1 | -3/+3 | |
| | ||||||
* | Fixed bug where pipe processes were not being stopped by Ctrl-C on Windows | Kevin Van Brunt | 2019-11-18 | 1 | -10/+8 | |
| | ||||||
* | Fixed sphinx doc error | Kevin Van Brunt | 2019-11-17 | 1 | -3/+2 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2019-11-17 | 1 | -2/+2 | |
| | ||||||
* | Updated comments and change log | Kevin Van Brunt | 2019-11-16 | 1 | -2/+2 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2019-11-16 | 1 | -1/+1 | |
| | ||||||
* | Added cmd2-specific input() function that reads from the correct stdin and ↵ | Kevin Van Brunt | 2019-11-16 | 1 | -67/+92 | |
| | | | | can disable tab completion | |||||
* | Fix bug where cmd2 ran 'stty sane' command when stdin was not a terminal | Kevin Van Brunt | 2019-11-11 | 1 | -1/+1 | |
| | ||||||
* | Made some cmd2 module constants cmd2.Cmd class constants | Kevin Van Brunt | 2019-10-31 | 1 | -10/+10 | |
| | ||||||
* | Moving a bit of code around to shrink cmd2.py | Kevin Van Brunt | 2019-10-31 | 1 | -247/+26 | |
| | | | | | This includes moving cmd2 decorators into a new file called decorators.py Moved some constants from cmd2.py to constants.py | |||||
* | Merge branch 'master' into set_prog | Todd Leonhardt | 2019-10-30 | 1 | -15/+18 | |
|\ | | | | | | | | | # Conflicts: # CHANGELOG.md | |||||
| * | Merge branch 'master' into history_edit | Todd Leonhardt | 2019-10-30 | 1 | -2/+2 | |
| |\ | ||||||
| | * | Only removing ipy from cmd2 instances instead of the class when use_ipython ↵ | Kevin Van Brunt | 2019-10-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | is False | |||||
| * | | do_history no longer calls do_edit since edit is a command that is commonly ↵ | Kevin Van Brunt | 2019-10-30 | 1 | -13/+16 | |
| |/ | | | | | | | overridden | |||||
* | | Fixed warning | Kevin Van Brunt | 2019-10-30 | 1 | -0/+1 | |
| | | ||||||
* | | Setting prog value of a command and its subcommand parsers to contain the ↵ | Kevin Van Brunt | 2019-10-30 | 1 | -22/+43 | |
|/ | | | | command name and not sys.argv[0] | |||||
* | 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 | |
| |