summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
Commit message (Expand)AuthorAgeFilesLines
* Updated all examples to use Cmd2ArgumentParser instead of argparse.ArgumentPa...Kevin Van Brunt2021-06-171-2/+1
* Style changes from running black on Python 3.9Kevin Van Brunt2021-04-271-1/+1
* Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy.Kevin Van Brunt2021-03-301-2/+2
* Add in isort changesTodd Leonhardt2021-01-311-1/+3
* Attempt to fix remaining black failuresTodd Leonhardt2021-01-311-2/+2
* Add black for automatic code formatTodd Leonhardt2021-01-311-3/+2
* Changed isort to force wrapping of imports to reduce merge conflicts from min...Eric Lin2021-01-221-1/+3
* Marked with_arparser_and_unknown_args deprecated and consolidatedEric Lin2020-08-041-1/+1
* Update scripting docs. Closes #765.kotfu2020-02-281-13/+19
* Updated python scripting exmaple to illustrate howEric Lin2020-02-241-17/+11
* Overhauling tab completion examplesKevin Van Brunt2020-02-121-0/+1
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-271-1/+1
* Minor update to embedded python shells docsTodd Leonhardt2019-11-031-1/+1
* Simplified ansi color dictionaries and lookup methodsTodd Leonhardt2019-06-271-3/+2
* Replaced more pexcept uses with perrorKevin Van Brunt2019-06-251-3/+3
* Initial Commit for Issue 698xNinjaKittyx2019-06-241-3/+3
* Made last_result public and restored the initialization of it in __init__ and...Todd Leonhardt2019-06-231-4/+4
* Updated commentKevin Van Brunt2019-06-151-4/+4
* Updated various documentation and tests to not use loadTodd Leonhardt2019-06-151-4/+4
* Updated documentationKevin Van Brunt2019-06-151-2/+2
* Refactor exit_code implementationTodd Leonhardt2019-05-201-1/+2
* Refactored filtering in path_complete to use a functionKevin Van Brunt2018-10-261-1/+1
* Merge branch 'master' into colorizeTodd Leonhardt2018-09-251-1/+1
|\
| * Removed a Python3-only comment from an example since Python 2 is no longer su...Todd Leonhardt2018-09-251-1/+1
* | Added optional color argument to poutput() for providing a color escape code ...Todd Leonhardt2018-09-241-1/+3
|/
* Removed remaining type hints in docstringsKevin Van Brunt2018-09-211-4/+4
* Deprecated CmdResult helper class and promoted CommandResultTodd Leonhardt2018-06-231-5/+7
* Fixed conditional.py scriptTodd Leonhardt2018-05-261-0/+1
* Standardize cmd2 imports in tests and exampleskotfu2018-05-231-1/+1
* Removed the expensive imports from cmd2/__init__.pyEric Lin2018-04-251-1/+1
* Started removing dependency on sixTodd Leonhardt2018-04-151-1/+1
* Addressed code review commentsKevin Van Brunt2018-03-271-3/+3
* Fixed python_scripting.py exampleTodd Leonhardt2018-03-011-11/+11
* Cleanup of documentation and examplesTodd Leonhardt2018-01-171-1/+0
* Renamed new decorator to @with_argparser_and_unknown_args to make it more des...Todd Leonhardt2018-01-151-2/+2
* Changed @with_argument_parser to only pass single argument to commandsTodd Leonhardt2018-01-151-8/+10
* Modified examples still using @options to import make_option from optparseTodd Leonhardt2018-01-151-10/+10
* Add screenshot to front pageTodd Leonhardt2017-07-031-1/+1
* Moved example scripts from examples to examples/scripts directlyTodd Leonhardt2017-06-211-1/+1
* Changed default value for USE_ARG_LIST global to TrueTodd Leonhardt2017-06-141-3/+3
* Updated documentation and examplesTodd Leonhardt2017-06-141-2/+2
* Updated an example, features, and changes based on new support for path and c...Todd Leonhardt2017-05-171-12/+3
* Improved the CmdResult namedtuple subclassTodd Leonhardt2017-03-141-5/+5
* Added intro with unicode characters to one example.Todd Leonhardt2017-03-141-3/+5
* Improved examplesTodd Leonhardt2017-03-111-3/+23
* Added an example for how conditional control flow of a cmd2 application can b...Todd Leonhardt2017-03-111-0/+102