summaryrefslogtreecommitdiff
path: root/examples/initialization.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.
* Resolves comments from PREric Lin2021-03-181-1/+1
|
* Add black for automatic code formatTodd Leonhardt2021-01-311-4/+9
|
* Changed isort to force wrapping of imports to reduce merge conflicts from ↵Eric Lin2021-01-221-1/+5
| | | | minor import changes.
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-1/+1
| | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
* Having two parallel datastructures each for foreground and background colors ↵Todd Leonhardt2020-02-061-4/+3
| | | | | | felt really clunky - now we just have one The Enum classes are now smart and deal with it all.
* Added cmd2.utils.Settable to the cmd2 namespace and updated examples and docsTodd Leonhardt2020-02-041-1/+3
|
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-271-1/+1
| | | | This more accurately reflects what it controls
* Improved example in initialiation docsTodd Leonhardt2020-01-261-0/+60