summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Added configurable padding to BorderedTable/AlternatingTableKevin Van Brunt2020-04-191-1/+1
| | | | Updated comments
* Initial commit of table creation APIKevin Van Brunt2020-04-091-0/+77
|
* Added documentation about decorator order and updated an exampleTodd Leonhardt2020-04-091-6/+23
| | | | | Also: - Deal with warnings when building docs with Sphinx 3.0.0
* Update scripting docs. Closes #765.kotfu2020-02-281-13/+19
|
* Updated python scripting exmaple to illustrate howEric Lin2020-02-242-21/+25
| | | | | stdout/stderr is automatically captured in CommandResult during python scripting. Fixes #898
* Added apply_style to CompletionErrorKevin Van Brunt2020-02-181-2/+1
| | | | Simplified error class structure in argparse_completer.py
* Added use of CompletionError to basic completion exampleKevin Van Brunt2020-02-181-6/+23
|
* Made CompletionError exception available to non-argparse tab completionKevin Van Brunt2020-02-171-2/+2
|
* Fixed missing importKevin Van Brunt2020-02-131-0/+2
|
* Updated documentationKevin Van Brunt2020-02-131-5/+5
|
* Finished argparse completion exampleKevin Van Brunt2020-02-131-21/+49
|
* Wrote examples for CompletionError and CompletionItemKevin Van Brunt2020-02-131-13/+34
|
* Start of new argparse completion exampleKevin Van Brunt2020-02-131-0/+73
|
* Removed dash from 'tab complete' stringKevin Van Brunt2020-02-131-6/+6
|
* Removed use of argparse from basic completion exampleKevin Van Brunt2020-02-131-46/+30
|
* Overhauling tab completion examplesKevin Van Brunt2020-02-123-272/+29
|
* Updated release data for 1.0.0-rc1 in preparation for a release candidateTodd Leonhardt2020-02-072-2/+2
| | | | | Also: - Updated some very outdated comments in transcript files
* Updated plumbum exampleKevin Van Brunt2020-02-071-32/+33
|
* Updated changelog to address removal of ansi.FG_COLORS and ansi.BG_COLORS ↵Todd Leonhardt2020-02-071-8/+8
| | | | | | | and mention their replacement by ansi.fg and ansi.bg enums Also: - Use ansi.fg in async_printing.py and README.md
* Having two parallel datastructures each for foreground and background colors ↵Todd Leonhardt2020-02-063-7/+6
| | | | | | felt really clunky - now we just have one The Enum classes are now smart and deal with it all.
* Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background ↵Todd Leonhardt2020-02-061-2/+2
| | | | | | colors which style() can now optionally use This is to make it easier to autocomplete color names in an IDE
* Fixed example codeKevin Van Brunt2020-02-061-1/+1
|
* Documentation updateskotfu2020-02-051-3/+7
|
* Updated documentationKevin Van Brunt2020-02-051-1/+1
|
* Removed unnecessary inheritance from objectKevin Van Brunt2020-02-041-1/+1
|
* Updated example transcriptsTodd Leonhardt2020-02-042-2/+2
|
* Added cmd2.utils.Settable to the cmd2 namespace and updated examples and docsTodd Leonhardt2020-02-0410-11/+32
|
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-278-8/+8
| | | | This more accurately reflects what it controls
* Made three public attributes of cmd2.Cmd no longer settable at runtime by ↵Todd Leonhardt2020-01-273-7/+3
| | | | | | | | | end users The 3 attributes are: - continuation_prompt - locals_in_py - prompt
* Improved example in initialiation docsTodd Leonhardt2020-01-261-0/+60
|
* 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
|