summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into generating_output_docsTodd Leonhardt2020-01-095-22/+36
|\ | | | | | | | | | | # Conflicts: # docs/features/generating_output.rst # docs/features/settings.rst
| * Merge branch 'master' into ansi_to_styleKevin Van Brunt2020-01-071-6/+20
| |\
| | * Updated dynamic commands example to add help categoryKevin Van Brunt2020-01-061-6/+20
| | |
| * | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵Kevin Van Brunt2019-12-194-16/+16
| |/ | | | | | | sequences are handled
* | Merge branch 'master' into generating_output_docskotfu2019-11-291-2/+2
|\ \ | |/
| * Fixed bug where a redefined ansi.style_error was not being used in all cmd2 ↵Kevin Van Brunt2019-11-271-2/+2
| | | | | | | | files
* | Show usage of colorama for ansi text stylingkotfu2019-11-291-1/+25
| |
* | Remove unused variablekotfu2019-11-271-1/+1
|/
* Added capability to override the argument parser class used by cmd2 built-in ↵Kevin Van Brunt2019-11-192-0/+59
| | | | commands
* Minor update to embedded python shells docsTodd Leonhardt2019-11-031-1/+1
|
* Improved documentation for Argument Parsing and Tab-CompletionTodd Leonhardt2019-11-032-0/+102
| | | | | Also: - Added a couple examples
* Moving a bit of code around to shrink cmd2.pyKevin Van Brunt2019-10-311-1/+1
| | | | | This includes moving cmd2 decorators into a new file called decorators.py Moved some constants from cmd2.py to constants.py
* Removed all instances where a parser's prog attribute was being set since ↵Kevin Van Brunt2019-10-302-3/+3
| | | | this is no longer needed
* Merge branch 'master' into doc_additionsTodd Leonhardt2019-09-171-0/+31
|\
| * Added a basic example for dynamically adding do_* commands in a loopTodd Leonhardt2019-09-151-0/+31
| |
* | Add documentation and example for removing built-in commandskotfu2019-08-231-2/+2
|/ | | | For #765
* Made example update the prompt less frequentlyKevin Van Brunt2019-08-011-4/+18
|
* Fix flake8 error due to extra blank line in exampleTodd Leonhardt2019-07-231-1/+0
|
* Fixed bad practice of using print() and replaced with self.poutput()Todd Leonhardt2019-07-231-5/+5
|
* Added another command to the unicode command name exampleTodd Leonhardt2019-07-231-0/+4
|
* 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