Esempio n. 1
0
 def __init__(self, cmd, args):
     SubCommandBase.__init__(
         self,
         cmd, args,
         load_recipes=True,
         require_prefix=(args.sub_command != 'init'),
     )
Esempio n. 2
0
 def __init__(self, cmd, args):
     SubCommandBase.__init__(
         self,
         cmd, args,
         load_recipes=False,
         require_prefix=False,
     )
Esempio n. 3
0
 def setup_subparser(parser, cmd=None):
     """
     Set up a subparser for a specific command
     """
     return SubCommandBase.setup_subcommandparser(parser,
                                                  'Git tool Commands:',
                                                  Git.subcommands)
Esempio n. 4
0
 def setup_subparser(parser, cmd=None):
     """
     Set up a subparser for a specific command
     """
     return SubCommandBase.setup_subcommandparser(parser,
                                                  'Recipe Commands:',
                                                  Recipes.subcommands)
Esempio n. 5
0
 def setup_subparser(parser, cmd=None):
     """
     Set up a subparser for a specific command
     """
     return SubCommandBase.setup_subcommandparser(parser,
                                                  'Prefix Commands:',
                                                  Prefix.subcommands)
Esempio n. 6
0
 def setup_subparser(parser, cmd=None):
     """
     Set up a subparser for a specific command
     """
     return SubCommandBase.setup_subcommandparser(
         parser,
         'Prefix Commands:',
         Prefix.subcommands
     )
Esempio n. 7
0
 def setup_subparser(parser, cmd=None):
     """
     Set up a subparser for a specific command
     """
     return SubCommandBase.setup_subcommandparser(
             parser,
             'Recipe Commands:',
             Recipes.subcommands
     )
Esempio n. 8
0
 def setup_subparser(parser, cmd=None):
     """
     Set up a subparser for a specific command
     """
     return SubCommandBase.setup_subcommandparser(
         parser,
         'Git tool Commands:',
         Git.subcommands
     )