summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
Commit message (Collapse)AuthorAgeFilesLines
* Updated an example, features, and changes based on new support for path and ↵Todd Leonhardt2017-05-171-12/+3
| | | | command completion
* Improved the CmdResult namedtuple subclassTodd Leonhardt2017-03-141-5/+5
| | | | | | The last two arguments (err and war) are now optional. Only the 1st argument (out) is required. err and war default to empty strings.
* Added intro with unicode characters to one example.Todd Leonhardt2017-03-141-3/+5
|
* Improved examplesTodd Leonhardt2017-03-111-3/+23
| | | | | | Added the pirate8.py example from Catherine's PyCon2010 talk as pirate.py with some cleanups done. Added an example of a complete_* method for command argument completion to the python_scripting.py example.
* Added an example for how conditional control flow of a cmd2 application can ↵Todd Leonhardt2017-03-111-0/+102
be achieved via the py command and python scripts.