summaryrefslogtreecommitdiff
path: root/examples/basic.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-2/+6
|
* 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
* Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background ↵Todd Leonhardt2020-02-061-2/+2
| | | | | | colors which style() can now optionally use This is to make it easier to autocomplete color names in an IDE
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-271-1/+1
| | | | This more accurately reflects what it controls
* Improved documentation for Argument Parsing and Tab-CompletionTodd Leonhardt2019-11-031-0/+43
Also: - Added a couple examples