diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-05-03 00:34:36 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-05-03 00:34:36 -0400 |
commit | c051c84fd44dda4b0c19f6ad01bb14ea970de260 (patch) | |
tree | f4a72643456187123d516c1c2f7e3e99e37672b3 | |
parent | 09a10decf5ae10a1f4c0401fa507ceee6db720d3 (diff) | |
download | cmd2-git-c051c84fd44dda4b0c19f6ad01bb14ea970de260.tar.gz |
Fixed import in main.py so this can be used for debug and test during development
-rwxr-xr-x | main.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,12 +1,11 @@ #!/usr/bin/env python # coding=utf-8 - -from cmd2 import Cmd +from cmd2 import cmd2 if __name__ == '__main__': # If run as the main application, simply start a bare-bones cmd2 application with only built-in functionality. # Set "use_ipython" to True to include the ipy command if IPython is installed, which supports advanced interactive # debugging of your application via introspection on self. - app = Cmd(use_ipython=True) + app = cmd2.Cmd(use_ipython=True) app.cmdloop() |