diff options
author | Eric Lin <anselor@gmail.com> | 2020-06-12 20:44:10 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-08-04 13:38:08 -0400 |
commit | 6da2cf30311f97d23a7121f8c02f9123674194b4 (patch) | |
tree | 9d6780afcb0742b94f86b6f8f775220691896cd3 /examples/modular_commands | |
parent | e1087b8f29341397b09e9a0722a77c025ab20d23 (diff) | |
download | cmd2-git-6da2cf30311f97d23a7121f8c02f9123674194b4.tar.gz |
Some minor cleanup of how imports work. Fixed issue with help documentation for CommandSet commands.
Issue #943
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 |