summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | Merge branch 'master' into alert_printerTodd Leonhardt2018-09-251-61/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | | Made async stuff publicKevin Van Brunt2018-09-251-20/+20
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' into alert_printerKevin Van Brunt2018-09-241-7/+13
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | | Async printing functions raise RuntimeError if called before acquiring ↵Kevin Van Brunt2018-09-231-26/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminal lock
| * | | | | | | | | | | | | | Making sure self.prompt reflects what is on screenKevin Van Brunt2018-09-221-3/+15
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Updating prompt in example appKevin Van Brunt2018-09-211-13/+16
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Made sure all prompts sent to GNU readline are made safeKevin Van Brunt2018-09-211-35/+6
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' into alert_printerKevin Van Brunt2018-09-211-66/+71
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|/ / | | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | | Restoring original signint handlerKevin Van Brunt2018-09-201-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recreating _terminal_lock when cmdloop begins to avoid any deadlock from previous runs of cmdloop.
| * | | | | | | | | | | | | | Fixed when prompt is set in async functionsKevin Van Brunt2018-09-201-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added more type hinting Removed post loop and moved its contents to cmdloop
| * | | | | | | | | | | | | | Removed example commandsKevin Van Brunt2018-09-201-28/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Handling case of releasing _terminal_lock before its been lockedKevin Van Brunt2018-09-191-2/+6
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | More code to support asynchronous changes to the terminalKevin Van Brunt2018-09-191-14/+62
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' into alert_printerKevin Van Brunt2018-09-191-4/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | | Made common function to clear input lines in the terminalKevin Van Brunt2018-09-191-50/+24
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | This just fixes a couple minor lint warnings related to raw strings and escapesTodd Leonhardt2018-09-191-1/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Wrote a prompt updater exampleKevin Van Brunt2018-09-191-3/+75
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Moving cursor to beginning of line before printing alertKevin Van Brunt2018-09-191-2/+5
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Wrote function and test command to print alertsKevin Van Brunt2018-09-191-1/+69
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge branch 'master' into macroKevin Van Brunt2018-09-251-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | | Fixed bug where self.persistent_history_file attribute didn't existKevin Van Brunt2018-09-251-0/+1
| | |_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Renamed functionKevin Van Brunt2018-09-251-11/+11
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Restored alias unit testsKevin Van Brunt2018-09-251-1/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Fixing unit testsKevin Van Brunt2018-09-251-2/+2
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge branch 'master' into macroKevin Van Brunt2018-09-251-9/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / /
| * | | | | | | | | | | | | Merge branch 'master' into command_help_noflagKevin Van Brunt2018-09-251-74/+18
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / / / / | | |/| | | | | | | | | | |
| | * | | | | | | | | | | | Fixed issue where only first alias was workingKevin Van Brunt2018-09-251-6/+4
| | | |_|_|_|/ / / / / / / | | |/| | | | | | | | | |
| * | | | | | | | | | | | Added the the ability to format help to the AutoCompleter to support ↵Eric Lin2018-09-231-9/+4
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sub-command specific help lookup.
* | | | | | | | | | | | Finished macro commands. Still needs testing.Kevin Van Brunt2018-09-251-24/+65
| | | | | | | | | | | |
* | | | | | | | | | | | Merge commit '38f070a5876e91945bfadd3fe60ddcb8b21b96c3' into macroKevin Van Brunt2018-09-251-61/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Deleted the hook methods which were deprecated in the previous releaseTodd Leonhardt2018-09-251-61/+1
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following methods of cmd2.Cmd have been deleted: - preparse - postparsing_precmd - postparsing_postcmd The new application lifecycle hook framework allows for registering callbacks to be called at various points in the application lifecycle and is more powerful and flexible than the old system of fixed hook methods.
* | | | | | | | | | | Simplified building a stringKevin Van Brunt2018-09-251-8/+4
| | | | | | | | | | |
* | | | | | | | | | | Added documentationKevin Van Brunt2018-09-251-32/+44
| | | | | | | | | | |
* | | | | | | | | | | Added macro deleteKevin Van Brunt2018-09-251-25/+59
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'master' into macroKevin Van Brunt2018-09-241-2/+4
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | Made small tweak to do_py to improve testabilityTodd Leonhardt2018-09-241-2/+4
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
* | | | | | | | | | Backing up macro command workKevin Van Brunt2018-09-241-26/+190
| | | | | | | | | |
* | | | | | | | | | Merge branch 'master' into macroKevin Van Brunt2018-09-241-5/+9
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Allow first comment block to appear before or after :param type linesKevin Van Brunt2018-09-241-5/+6
| | | | | | | | | |
| * | | | | | | | | Prevent :param and :return type lines from showing in help summariesKevin Van Brunt2018-09-241-3/+6
| |/ / / / / / / /
* | | | | | | | | Added some more alias verificationKevin Van Brunt2018-09-241-4/+5
| | | | | | | | |
* | | | | | | | | Switched alias create to use argparse.REMAINDER for the command argsKevin Van Brunt2018-09-241-10/+7
| | | | | | | | |
* | | | | | | | | Fixed description messageKevin Van Brunt2018-09-231-2/+2
| | | | | | | | |
* | | | | | | | | Merge branch 'master' into macroKevin Van Brunt2018-09-211-65/+67
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Removed remaining type hints in docstringsKevin Van Brunt2018-09-211-29/+27
| | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Simplified functions moreKevin Van Brunt2018-09-211-14/+9
| | | | | | | |
| * | | | | | | Removed a couple unecessary lines of code now that parameter arg to show() ↵Todd Leonhardt2018-09-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method has a default value
| * | | | | | | Removed test codeKevin Van Brunt2018-09-211-1/+1
| | | | | | | |
| * | | | | | | Refactored do_setKevin Van Brunt2018-09-211-32/+42
| | | | | | | |
| * | | | | | | Changed to use ACArgumentParser-based tab-completion for settable parameter ↵Todd Leonhardt2018-09-201-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name in set command