Leo Cunha
04/20/2023, 12:56 PMcli.py
?datajoely
04/20/2023, 12:56 PMLeo Cunha
04/20/2023, 12:56 PMdatajoely
04/20/2023, 12:58 PMBalazs Konig
04/20/2023, 12:59 PMLeo Cunha
04/20/2023, 1:00 PMkedro run
to do something like kedro run --custom-flag
. I did it overriding the whole cli . It's working but I was wondering if it's possible to do it with plugin toodatajoely
04/20/2023, 1:00 PMClick to expand
Balazs Konig
04/20/2023, 1:05 PMclick to expand
), add all the default commands (eg. from_nodes) and then add whatever custom commands we need - we can't just get away with only defining the non-default command in plugin.py to avoid manually adding a cli.py?Deepyaman Datta
04/20/2023, 1:07 PMBalazs Konig
04/20/2023, 1:11 PMdef run(
custom_command,
):
runner...
etc and only include the non-default command in both run
and KedroSession.create()
?Deepyaman Datta
04/20/2023, 1:12 PMNok Lam Chan
04/20/2023, 8:49 PMrun
, I think the only way is to override it completely.Leo Cunha
04/21/2023, 1:51 PM