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.
2 parents 00871e3 + bb57ac8 commit 7d47784Copy full SHA for 7d47784
docs/freefeatures.rst
@@ -55,11 +55,11 @@ be pointless within an interactive session.
55
Startup Initialization Script
56
=============================
57
You can load and execute commands from a startup initialization script by passing a file path to the ``startup_script``
58
-argument to the ``cmd.Cmd.__init__()`` method like so::
+argument to the ``cmd2.Cmd.__init__()`` method like so::
59
60
- class AliasAndStartup(cmd2.Cmd):
61
- def __init__(self):
62
- cmd2.Cmd.__init__(self, startup_script='.cmd2rc')
+ class StartupApp(cmd2.Cmd):
+ def __init__(self):
+ cmd2.Cmd.__init__(self, startup_script='.cmd2rc')
63
64
See the AliasStartup_ example for a demonstration.
65
0 commit comments