def __init__(self, cli_ctx=None, command_cls=CLICommand, excluded_command_handler_args=None):
        """ The loader of commands. It contains the command table and argument registries.

        :param cli_ctx: CLI Context
        :type cli_ctx: knack.cli.CLI
        :param command_cls: The command type that the command table will be populated with
        :type command_cls: knack.commands.CLICommand
        :param excluded_command_handler_args: List of params to ignore and not extract from a commands handler.
                                              By default we ignore ['self', 'kwargs'].
        :type excluded_command_handler_args: list of str
        """
        from .cli import CLI
        if cli_ctx is not None and not isinstance(cli_ctx, CLI):
            raise CtxTypeError(cli_ctx)
        self.cli_ctx = cli_ctx
        self.command_cls = command_cls
        self.skip_applicability = False
        self.excluded_command_handler_args = excluded_command_handler_args
        # A command table is a dictionary of name -> CLICommand instances
        self.command_table = dict()
        # A command group table is a dictionary of names -> CommandGroup instances
        self.command_group_table = dict()
        # An argument registry stores all arguments for commands
        self.argument_registry = ArgumentRegistry()
        self.extra_argument_registry = defaultdict(lambda: {})
def __init__ ( self , cli_ctx = None , command_cls = CLICommand , excluded_command_handler_args = None ) : from . cli import CLI if cli_ctx is not None and not isinstance ( cli_ctx , CLI ) : raise CtxTypeError ( cli_ctx ) self . cli_ctx = cli_ctx self . command_cls = command_cls self . skip_applicability = False self . excluded_command_handler_args = excluded_command_handler_args self . command_table = dict ( ) self . command_group_table = dict ( ) self . argument_registry = ArgumentRegistry ( ) self . extra_argument_registry = defaultdict ( lambda : { } )
The loader of commands. It contains the command table and argument registries.

        :param cli_ctx: CLI Context
        :type cli_ctx: knack.cli.CLI
        :param command_cls: The command type that the command table will be populated with
        :type command_cls: knack.commands.CLICommand
        :param excluded_command_handler_args: List of params to ignore and not extract from a commands handler.
                                              By default we ignore ['self', 'kwargs'].
        :type excluded_command_handler_args: list of str