summaryrefslogtreecommitdiff
path: root/examples/submenus.py
Commit message (Collapse)AuthorAgeFilesLines
* Extract submenu code to new projectkotfu2018-05-091-109/+0
|
* Removed the expensive imports from cmd2/__init__.pyEric Lin2018-04-251-1/+1
| | | | | | | Added some shared definitions to cmd2/__init__.py -> maybe there's a better place for these? Figured out how to trick bash into showing argument hints. It's a bit weird. Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py For #369
* Started removing dependency on sixTodd Leonhardt2018-04-151-1/+1
| | | | | | | Removed all dependency on six other than for six.moves.input Also: - Started removing code branches which were for Python 2 support
* Added optional persistent readline history featureTodd Leonhardt2018-02-081-5/+1
| | | | | | | | | | | | - Including an example and info in the Sphinx docs Also: - Created CHANGELOG entry for 0.8.1 release - Added info to README about new sub-menu feature - Bumped version to 0.8.1 TODO: - Added a unit test for the persistent readline history feature
* Added ability to use ipy for embedded IPython to submenus.py exampleTodd Leonhardt2018-02-071-1/+23
| | | | This is simply to allow introspection on self for debug and development
* Fixed typo in ThirdLevel.do_say() printCalvin Lobo2018-02-041-1/+2
| | | | Added shebang line
* added a decorator function that allows nesting of Cmd instances to create ↵Calvin Lobo2018-02-011-0/+90
submenus