We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a10de commit c051c84Copy full SHA for c051c84
main.py
@@ -1,12 +1,11 @@
1
#!/usr/bin/env python
2
# coding=utf-8
3
-
4
-from cmd2 import Cmd
+from cmd2 import cmd2
5
6
if __name__ == '__main__':
7
# If run as the main application, simply start a bare-bones cmd2 application with only built-in functionality.
8
9
# Set "use_ipython" to True to include the ipy command if IPython is installed, which supports advanced interactive
10
# debugging of your application via introspection on self.
11
- app = Cmd(use_ipython=True)
+ app = cmd2.Cmd(use_ipython=True)
12
app.cmdloop()
0 commit comments