summaryrefslogtreecommitdiff
path: root/examples/script_conditional.py
Commit message (Collapse)AuthorAgeFilesLines
* Improved the CmdResult namedtuple subclassTodd Leonhardt2017-03-141-1/+7
| | | | | | The last two arguments (err and war) are now optional. Only the 1st argument (out) is required. err and war default to empty strings.
* Mostly fix a bunch of spelling mistakes.Todd Leonhardt2017-03-131-1/+1
| | | | A few other miscellaneous minor tweaks for whitespace and such.
* Added an example for how conditional control flow of a cmd2 application can ↵Todd Leonhardt2017-03-111-0/+24
be achieved via the py command and python scripts.