diff options
Diffstat (limited to 'examples/modular_commands')
-rw-r--r-- | examples/modular_commands/commandset_basic.py | 3 | ||||
-rw-r--r-- | examples/modular_commands/commandset_custominit.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/modular_commands/commandset_basic.py b/examples/modular_commands/commandset_basic.py index 5ad26d97..8b51b7e4 100644 --- a/examples/modular_commands/commandset_basic.py +++ b/examples/modular_commands/commandset_basic.py @@ -4,8 +4,7 @@ A simple example demonstrating a loadable command set """ from typing import List -from cmd2 import Cmd, Statement, with_category -from cmd2.command_definition import CommandSet, with_default_category, register_command +from cmd2 import Cmd, Statement, with_category, CommandSet, with_default_category, register_command from cmd2.utils import CompletionError diff --git a/examples/modular_commands/commandset_custominit.py b/examples/modular_commands/commandset_custominit.py index 440db850..ce49876a 100644 --- a/examples/modular_commands/commandset_custominit.py +++ b/examples/modular_commands/commandset_custominit.py @@ -2,8 +2,7 @@ """ A simple example demonstrating a loadable command set """ -from cmd2 import Cmd, Statement, with_category -from cmd2.command_definition import CommandSet, with_default_category, register_command +from cmd2 import Cmd, Statement, with_category, CommandSet, with_default_category, register_command @register_command |