summaryrefslogtreecommitdiff
path: root/examples/tab_completion.py
Commit message (Collapse)AuthorAgeFilesLines
* Overhauling tab completion examplesKevin Van Brunt2020-02-121-81/+0
|
* Changed all uses of sub-command to subcommandKevin Van Brunt2019-07-191-1/+1
|
* Simplifying unit tests for AutoCompleterKevin Van Brunt2019-07-051-1/+3
|
* Refactor exit_code implementationTodd Leonhardt2019-05-201-1/+2
| | | | | | | | | | | | cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer Also: - Refactored examples to call sys.exit(app.cmdloop()) in their __main__ - Running transcript tests now sets the exit_code accordingly based on success/failure - Updated CHANGELOG - Updated README - Updated Sphinx docs - Added unit test for case when transcript test fails
* Using sub-command instead of subcommand where possible to be consistent with ↵Kevin Van Brunt2018-10-051-1/+1
| | | | argparse
* Standardize cmd2 imports in tests and exampleskotfu2018-05-231-4/+3
|
* Removed the expensive imports from cmd2/__init__.pyEric Lin2018-04-251-2/+2
| | | | | | | 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
* Updated comments and examplesKevin Van Brunt2018-04-151-2/+2
|
* Made subcommand specific completion work with Python 2 in the examplesKevin Van Brunt2018-03-241-23/+27
|
* Fixed some parsing bugs and added more unit testsKevin Van Brunt2018-03-021-1/+7
|
* Added tab completion exampleKevin Van Brunt2018-03-021-0/+69