summaryrefslogtreecommitdiff
path: root/examples
Commit message (Expand)AuthorAgeFilesLines
* Updated examples and documentation pertaining to disabling commandsKevin Van Brunt2019-03-101-0/+12
* Fixed typo in exampleKevin Van Brunt2019-03-101-1/+1
* Fix for when with_argument_list is called with preserve_quotes optional argumentTodd Leonhardt2019-03-041-0/+5
* Updated the examples to illustrate sorting CompletionItemsKevin Van Brunt2019-02-272-4/+10
* Made cmd2_app a positional and required argument of AutoCompleter.Kevin Van Brunt2019-02-232-99/+4
* Changed examples to reflect that settable doesn't need to be updated before c...Kevin Van Brunt2019-02-207-14/+25
* Fixed examplesKevin Van Brunt2019-02-082-3/+3
* Fixed issue where calling exit() or quit() from a pyscript would close the wh...Kevin Van Brunt2019-02-061-2/+2
* Fixed commentKevin Van Brunt2019-02-061-1/+1
* Added help summary and a separate label for commands and topicsKevin Van Brunt2018-12-211-12/+33
* Removed newlinesKevin Van Brunt2018-12-211-3/+1
* Refactored script to use app()Kevin Van Brunt2018-12-211-32/+27
* Updated documentationKevin Van Brunt2018-12-201-2/+2
* Refactored script and made OS independent by removing rm callsKevin Van Brunt2018-12-201-26/+40
* Added labels for each command help textKevin Van Brunt2018-12-201-2/+13
* Fixing flake8 warningKevin Van Brunt2018-12-201-0/+1
* Added new example script that saves help text to a fileKevin Van Brunt2018-12-201-0/+67
* Fix flake8 issuesTodd Leonhardt2018-12-0614-69/+63
* Fixed bug in example caused by a keyword argument being used with dict.get()Kevin Van Brunt2018-11-301-1/+1
* Undefined names: from colorama import Fore, Backcclauss2018-11-181-0/+1
* Update docs with smart ANSI handling for ppagedEthan McCreadie2018-11-012-16/+18
* Refactored filtering in path_complete to use a functionKevin Van Brunt2018-10-261-1/+1
* Added code to handle -- in argparse completerKevin Van Brunt2018-10-101-1/+1
* Added warning to documentation about how help_foo won't be called for command...Todd Leonhardt2018-10-062-6/+5
* Added documentation stating that parsers passed to argparse decorators need t...Todd Leonhardt2018-10-061-9/+17
* Moved main.py to exampels/hello_cmd2.py and added some commentsTodd Leonhardt2018-10-061-0/+16
* Merge remote-tracking branch 'origin/master' into argparse_remainderEric Lin2018-10-064-28/+28
|\
| * Using sub-command instead of subcommand where possible to be consistent with ...Kevin Van Brunt2018-10-054-28/+28
* | Fixed a few edge cases:Eric Lin2018-10-061-0/+2
* | Added handling of nargs=argparse.REMAINDER in both AutoCompleter and Argparse...Eric Lin2018-10-061-1/+1
|/
* Made hooks.py executableTodd Leonhardt2018-09-281-0/+0
* Updated abbreviation example to use new cmd2 function to resolve command func...Kevin Van Brunt2018-09-281-5/+5
* Addressing code review commentsKevin Van Brunt2018-09-281-1/+1
* Updated a couple files in the examples directory due to changes in alias commandTodd Leonhardt2018-09-272-6/+5
* Merged alert_printer stuff from master and resolved conflictsTodd Leonhardt2018-09-251-0/+203
|\
| * Merge branch 'master' into alert_printerKevin Van Brunt2018-09-251-0/+38
| |\
| * | Added more examples and documentationKevin Van Brunt2018-09-251-2/+8
| * | Merge branch 'master' into alert_printerTodd Leonhardt2018-09-251-1/+1
| |\ \
| * | | Made async stuff publicKevin Van Brunt2018-09-251-8/+8
| * | | Made demo more instructiveKevin Van Brunt2018-09-231-92/+103
| * | | Added more alerts and updated documentationKevin Van Brunt2018-09-221-12/+39
| * | | Recreating the thread in preloop to support multiple calls of cmdloopKevin Van Brunt2018-09-221-1/+3
| * | | Updating prompt in example appKevin Van Brunt2018-09-211-7/+43
| * | | First version of async printing exampleKevin Van Brunt2018-09-211-0/+121
* | | | Merge branch 'master' into colorizeTodd Leonhardt2018-09-251-0/+38
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'master' into command_help_noflagKevin Van Brunt2018-09-251-1/+1
| |\ \ \ | | | |/ | | |/|
| * | | Added the the ability to format help to the AutoCompleter to support sub-comm...Eric Lin2018-09-231-0/+38
| | |/ | |/|
* | | Merge branch 'master' into colorizeTodd Leonhardt2018-09-251-1/+1
|\ \ \ | | |/ | |/|
| * | Removed a Python3-only comment from an example since Python 2 is no longer su...Todd Leonhardt2018-09-251-1/+1
| |/
* | Added optional color argument to poutput() for providing a color escape code ...Todd Leonhardt2018-09-242-4/+20