class documentation

class CommandCollection(click.CommandCollection): (source)

Known subclasses: kedro.framework.cli.cli.KedroCLI

View In Hierarchy

Modified from the Click one to still run the source groups function.

Method __init__ Undocumented
Method format_commands Undocumented
Method resolve_command Undocumented
Instance Variable callback Undocumented
Instance Variable groups Undocumented
Instance Variable params Undocumented
Static Method _dedupe_commands Deduplicate commands by keeping the ones from the last source in the list.
Static Method _merge_same_name_collections Undocumented
def __init__(self, *groups: Tuple[str, Sequence[click.MultiCommand]]): (source)

Undocumented

def format_commands(self, ctx: click.core.Context, formatter: click.formatting.HelpFormatter): (source)

Undocumented

def resolve_command(self, ctx: click.core.Context, args: List): (source)

Undocumented

callback = (source)

Undocumented

Undocumented

Undocumented

@staticmethod
def _dedupe_commands(cli_collections: Sequence[click.CommandCollection]): (source)

Deduplicate commands by keeping the ones from the last source in the list.

@staticmethod
def _merge_same_name_collections(groups: Sequence[click.MultiCommand]): (source)

Undocumented