Skip to content

Commit 37afbd6

Browse files
committed
Fix module_commands.py example
Not sure where it got broken along the line, but this fixes it.
1 parent b61793c commit 37afbd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/modular_commands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
import argparse
88
from collections.abc import Iterable
99

10-
from modular_commands.commandset_basic import ( # noqa: F401
10+
from modular_commands.commandset_basic import (
1111
BasicCompletionCommandSet,
1212
)
13-
from modular_commands.commandset_complex import ( # noqa: F401
13+
from modular_commands.commandset_complex import (
1414
CommandSetA,
1515
)
1616
from modular_commands.commandset_custominit import (
@@ -64,6 +64,6 @@ def do_example(self, _: argparse.Namespace) -> None:
6464
import sys
6565

6666
print("Starting")
67-
my_sets = [CustomInitCommandSet('First argument', 'Second argument')]
67+
my_sets = [BasicCompletionCommandSet(), CommandSetA(), CustomInitCommandSet('First argument', 'Second argument')]
6868
app = WithCommandSets(command_sets=my_sets)
6969
sys.exit(app.cmdloop())

0 commit comments

Comments
 (0)