diff options
Diffstat (limited to 'cmd2/constants.py')
-rw-r--r-- | cmd2/constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py index a88ad1e2..aa2ccb6a 100644 --- a/cmd2/constants.py +++ b/cmd2/constants.py @@ -50,6 +50,9 @@ CMD_ATTR_ARGPARSER = 'argparser' # Whether or not tokens are unquoted before sending to argparse CMD_ATTR_PRESERVE_QUOTES = 'preserve_quotes' +# optional attribute +SUBCMD_HANDLER = 'cmd2_handler' + # subcommand attributes for the base command name and the subcommand name SUBCMD_ATTR_COMMAND = 'parent_command' SUBCMD_ATTR_NAME = 'subcommand_name' |