class documentation
class KedroCLI(CommandCollection): (source)
A CommandCollection class to encapsulate the KedroCLI command loading.
Method | __init__ |
Undocumented |
Method | main |
Undocumented |
Property | global |
Property which loads all global command groups from plugins and combines them with the built-in ones (eventually overriding the built-in ones if they are redefined by plugins). |
Property | project |
Property which loads all project command groups from the project and the plugins, then combines them with the built-in ones. Built-in commands can be overridden by plugins, which can be overridden by a custom project cli... |
Instance Variable | _cli |
Undocumented |
Instance Variable | _metadata |
Undocumented |
Inherited from CommandCollection
:
Method | format |
Undocumented |
Method | resolve |
Undocumented |
Instance Variable | callback |
Undocumented |
Instance Variable | groups |
Undocumented |
Instance Variable | params |
Undocumented |
Static Method | _dedupe |
Deduplicate commands by keeping the ones from the last source in the list. |
Static Method | _merge |
Undocumented |
def main(self, args=None, prog_name=None, complete_var=None, standalone_mode=True, **extra):
(source)
¶
Undocumented
Property which loads all global command groups from plugins and combines them with the built-in ones (eventually overriding the built-in ones if they are redefined by plugins).
Property which loads all project command groups from the project and the plugins, then combines them with the built-in ones. Built-in commands can be overridden by plugins, which can be overridden by a custom project cli.py. See https://kedro.readthedocs.io/en/stable/extend_kedro/common_use_cases.html#use-case-3-how-to-add-or-modify-cli-commands on how to add this.