summaryrefslogtreecommitdiff
path: root/examples/hello_cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-271-1/+1
| | | | This more accurately reflects what it controls
* Changed example cmd2 history file's extension from txt to dat since it is ↵Kevin Van Brunt2019-06-051-1/+1
| | | | now binary
* 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
* Moved main.py to exampels/hello_cmd2.py and added some commentsTodd Leonhardt2018-10-061-0/+16