proj_flow.minimal.run

The proj_flow.minimal.run implements ./flow run command.

proj_flow.minimal.run.main(configs: ~proj_flow.flow.configs.Configs, rt: ~proj_flow.api.env.Runtime, cli_steps: ~typing.Annotated[~typing.List[str] | None, ~proj_flow.api.arg.Argument(help=Run only listed steps; if missing, run all the steps, pos=False, names=['-s', '--steps'], nargs=*, opt=None, meta=step, action=store, default=[], choices=None, completer=~proj_flow.api.completers.step_completer, group=None)])

Run automation steps for current project

Call:

proj-flow run

Call:

./flow run

Parameters:
  • configs (Configs) – Current configuration list.

  • rt (Runtime) – Tools and print messages, while respecting --dry-run, --silent and --verbose.

  • cli_steps (list[str] | None) – Run only listed steps; if missing, run all the steps

proj_flow.minimal.run.gather_dependencies_for_all_configs(configs: Configs, rt: Runtime, steps: List[Step])
proj_flow.minimal.run.refresh_directories(configs: Configs, rt: Runtime, steps: List[Step])
proj_flow.minimal.run.compilers_env_setup(compiler: List[str], rt: Runtime)
proj_flow.minimal.run.run_steps(configs: Configs, rt: Runtime, program: List[Step], printed: bool) int