law.cli.luigid

law.cli.luigid#

“law luigid” cli subprogram.

setup_parser(sub_parsers: _SubParsersAction) None[source]#

Sets up the command line parser for the luigid subprogram and adds it to sub_parsers. This is identical to running luigid directly from the command line, but this also loads the law config prior to starting the scheduler process and optionally syncrhonizes it with luigi’s config.

execute(args: Namespace, argv: list[str]) int[source]#

Initializes the law config object and executes the luigid subprogram with parsed commandline args.