summaryrefslogtreecommitdiff
path: root/examples/dynamic_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy.py_refactorKevin Van Brunt2021-03-261-1/+1
| | | | | | | | | | Added include_py keyword parameter to cmd2.Cmd.__init__(). If False, then the py command will not be available. Removed ability to run Python commands from the command line with py. Made banners and exit messages of Python and IPython consistent. Changed utils.is_text_file() to raise OSError if file cannot be read.
* Add black for automatic code formatTodd Leonhardt2021-01-311-0/+1
|
* Changed isort to force wrapping of imports to reduce merge conflicts from ↵Eric Lin2021-01-221-1/+4
| | | | minor import changes.
* Updated dynamic commands example to add help categoryKevin Van Brunt2020-01-061-6/+20
|
* Added a basic example for dynamically adding do_* commands in a loopTodd Leonhardt2019-09-151-0/+31