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 7d944a2 commit 8acfe9bCopy full SHA for 8acfe9b
main.py
@@ -0,0 +1,12 @@
1
+#!/usr/bin/env python
2
+# coding=utf-8
3
+import cmd2
4
+
5
+if __name__ == '__main__':
6
+ # If run as the main application, simply start a bare-bones cmd2 application with only built-in functionality.
7
8
+ # Set "use_ipython" to True to include the ipy command if IPython is installed, which supports advanced interactive
9
+ # debugging of your application via introspection on self.
10
+ app = cmd2.Cmd(use_ipython=True)
11
+ app.locals_in_py = True
12
+ app.cmdloop()
0 commit comments