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 488bb23 commit afed344Copy full SHA for afed344
docs/features/modular_commands.md
@@ -72,8 +72,8 @@ class ExampleApp(cmd2.Cmd):
72
"""
73
CommandSets are automatically loaded. Nothing needs to be done.
74
75
- def __init__(self, *args, auto_load_commands=True, **kwargs):
76
- super().__init__(*args, **kwargs)
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, auto_load_commands=True, **kwargs)
77
78
def do_something(self, arg):
79
self.poutput('this is the something command')
@@ -106,9 +106,9 @@ class ExampleApp(cmd2.Cmd):
106
107
CommandSets with initializer parameters are provided in the initializer
108
109
110
# gotta have this or neither the plugin or cmd2 will initialize
111
112
113
114
self.last_result = 5
0 commit comments