diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-01 13:12:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-01 13:12:35 -0400 |
commit | 0b6edb1663ba20ece40f8dbba491f6e28911b183 (patch) | |
tree | fc9545ebb5b4f645dcafb0016f957ccc83da98d4 /cmd2.py | |
parent | b4ce107a16fdf0111a6f024a8d3a99132a858623 (diff) | |
parent | 8cf5bdfe32e3d513a80bcc0f1c302e2a21b9ae60 (diff) | |
download | cmd2-git-0b6edb1663ba20ece40f8dbba491f6e28911b183.tar.gz |
Merge pull request #158 from python-cmd2/help_tests
Added some unit tests related to help and the help menu
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2294,5 +2294,7 @@ class CmdResult(namedtuple_with_two_defaults('CmdResult', ['out', 'err', 'war']) if __name__ == '__main__': # If run as the main application, simply start a bare-bones cmd2 application with only built-in functionality. - app = Cmd() + # But enable the ipy command if IPython is installed, which supports advanced interactive debugging of your app, + # via introspection on self. + app = Cmd(use_ipython=True) app.cmdloop() |