summaryrefslogtreecommitdiff
path: root/cmd2/__init__.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-06-12 20:44:10 -0400
committeranselor <anselor@gmail.com>2020-08-04 13:38:08 -0400
commit6da2cf30311f97d23a7121f8c02f9123674194b4 (patch)
tree9d6780afcb0742b94f86b6f8f775220691896cd3 /cmd2/__init__.py
parente1087b8f29341397b09e9a0722a77c025ab20d23 (diff)
downloadcmd2-git-6da2cf30311f97d23a7121f8c02f9123674194b4.tar.gz
Some minor cleanup of how imports work. Fixed issue with help documentation for CommandSet commands.
Issue #943
Diffstat (limited to 'cmd2/__init__.py')
-rw-r--r--cmd2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/__init__.py b/cmd2/__init__.py
index c3c1f87e..70a52f70 100644
--- a/cmd2/__init__.py
+++ b/cmd2/__init__.py
@@ -28,6 +28,7 @@ if cmd2_parser_module is not None:
# Get the current value for argparse_custom.DEFAULT_ARGUMENT_PARSER
from .argparse_custom import DEFAULT_ARGUMENT_PARSER
from .cmd2 import Cmd
+from .command_definition import CommandSet, with_default_category, register_command
from .constants import COMMAND_NAME, DEFAULT_SHORTCUTS
from .decorators import with_argument_list, with_argparser, with_argparser_and_unknown_args, with_category
from .exceptions import Cmd2ArgparseError, SkipPostcommandHooks