summaryrefslogtreecommitdiff
path: root/cmd2/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r--cmd2/constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py
index 81d1a29b..0135e328 100644
--- a/cmd2/constants.py
+++ b/cmd2/constants.py
@@ -49,3 +49,7 @@ CMD_ATTR_ARGPARSER = 'argparser'
# Whether or not tokens are unquoted before sending to argparse
CMD_ATTR_PRESERVE_QUOTES = 'preserve_quotes'
+
+# sub-command attributes for the base command name and the sub-command name
+SUBCMD_ATTR_COMMAND = 'parent_command'
+SUBCMD_ATTR_NAME = 'subcommand_name'