summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Added an example with a unicode command name just to prove to myself that ↵Todd Leonhardt2019-07-232-0/+24
| | | | those work ;-)
* Just adding a comment to one of our text file scripts as an exampleTodd Leonhardt2019-07-191-0/+1
|
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-194-30/+30
|
* Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵Kevin Van Brunt2019-07-182-6/+8
| | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py.
* Merge branch 'master' into migrating_docsTodd Leonhardt2019-07-155-540/+32
|\
| * Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-122-6/+5
| |
| * Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-111-3/+3
| |\
| * | More argparse completer unit testsKevin Van Brunt2019-07-071-6/+6
| | |
| * | Moved all custom argparse classes intended for normal development to ↵Kevin Van Brunt2019-07-071-3/+2
| | | | | | | | | | | | | | | | | | | | | argparse_custom.py. Lazy loading AutoCompleter in cmd2 instance methods to allow argparse_completer.py to import cmd2.Cmd class. This Architecture makes more sense because AutoCompleter depends on cmd2.Cmd.
| * | Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-062-4/+63
| |\ \
| * | | Simplifying unit tests for AutoCompleterKevin Van Brunt2019-07-051-1/+3
| | | |
| * | | Fixed unit testsKevin Van Brunt2019-07-052-493/+0
| | | |
| * | | Fixing examplesKevin Van Brunt2019-07-041-39/+25
| | | |
| * | | Fixing examplesKevin Van Brunt2019-07-041-2/+3
| | | |
| * | | Merge branch 'master' into auto_completer_refactorKevin Van Brunt2019-07-041-5/+0
| |\ \ \
| * | | | Fixing unit testsKevin Van Brunt2019-07-041-4/+2
| | | | |
* | | | | Finish migration documentation for #719kotfu2019-07-141-0/+49
| | | | |
* | | | | Fix lint error for unused variablekotfu2019-07-141-1/+1
| |_|_|/ |/| | |
* | | | Restore self.statement_parser to a public attribute in cmd2.CmdTodd Leonhardt2019-07-101-3/+3
| |_|/ |/| |
* | | Merge branch 'master' into docstructurekotfu2019-07-061-5/+0
|\ \ \ | | |/ | |/|
| * | Reverting changes that should have been made on a different branchKevin Van Brunt2019-07-041-3/+2
| | |
| * | Fixing some examplesKevin Van Brunt2019-07-042-7/+3
| |/
* | Fix build error for unused importkotfu2019-07-061-1/+0
| |
* | Work on Getting Started section of documentationkotfu2019-07-061-0/+61
| | | | | | | | | | - change the walk through from example.py to a new first_app.py (based on example.py) - remove the feature tour section, we’ll use the first application to demo the key features
* | Added a walkthrough of constructing a simple application to the overviewkotfu2019-07-051-4/+3
|/ | | | For #709
* Whitespace and doc fixesKevin Van Brunt2019-07-011-1/+1
|
* Fixed a couple example transcripts that didn't get updated when colors got ↵Todd Leonhardt2019-06-292-2/+2
| | | | renamed to allow_ansi
* Updated color examples to support bold and underline optionsTodd Leonhardt2019-06-282-2/+6
|
* Improve background color display of prompt in async_printing.py exampleTodd Leonhardt2019-06-281-1/+1
|
* Simplified ansi color dictionaries and lookup methodsTodd Leonhardt2019-06-275-163/+47
| | | | | | | Also: - Updated examples that use color to use cmd2.ansi instead of colorama - Updated tests that use color to use cmd2.ansi instead of colorama - plumbum_colorspy example shows how to override color lookup functions to use a different color library
* Changed signature of style() to allow for simpler calling and overriding of ↵Kevin Van Brunt2019-06-261-1/+1
| | | | settings in a provided TextStyle
* Added TextStyle class and default implementations for various message types ↵Kevin Van Brunt2019-06-261-1/+2
| | | | like Warning, Error, and Succes
* Moved code related to ANSI escape codes to new file called ansi.pyKevin Van Brunt2019-06-261-2/+1
|
* Renamed style_message to styleKevin Van Brunt2019-06-261-1/+1
|
* Removed color args from poutput since the style function is going to do more ↵Kevin Van Brunt2019-06-251-14/+2
| | | | than color
* Replaced more pexcept uses with perrorKevin Van Brunt2019-06-252-8/+8
|
* Initial Commit for Issue 698xNinjaKittyx2019-06-243-10/+9
|
* Made tokens_for_completion() method public since a couple of our examples use itTodd Leonhardt2019-06-231-3/+3
|
* Made last_result public and restored the initialization of it in __init__ ↵Todd Leonhardt2019-06-232-6/+6
| | | | and associated comment
* Restored a few attributes to be publicTodd Leonhardt2019-06-231-5/+5
|
* Fixed a bunch of examples which were broken due to moving DEFAULT_SHORTCUTS ↵Todd Leonhardt2019-06-167-7/+7
| | | | from cmd2.py to constants.py
* Began work to minimize public APITodd Leonhardt2019-06-153-11/+11
|
* Updated commentKevin Van Brunt2019-06-151-4/+4
|
* Updated various documentation and tests to not use loadTodd Leonhardt2019-06-152-6/+6
|
* Fix unit test failures I introduced in last commitTodd Leonhardt2019-06-151-2/+2
|
* Updated documentationKevin Van Brunt2019-06-154-7/+7
|
* Updated commentKevin Van Brunt2019-06-151-1/+1
|
* Merge branch 'master' into history_fixesKevin Van Brunt2019-06-147-13/+4
|\
| * Removed support for cmd.cmdqueueKevin Van Brunt2019-06-113-7/+2
| | | | | | | | allow_cli_args is now an argument to __init__ instead of a cmd2 class member
| * Removed copyright headers from source files and updated LICENSE with current ↵Kevin Van Brunt2019-06-072-6/+0
| | | | | | | | year