Function cmd_step_output

Source
pub fn cmd_step_output(
    xvc_root: &XvcRoot,
    pipeline_name: &str,
    step_name: String,
    files: Option<Vec<String>>,
    metrics: Option<Vec<String>>,
    images: Option<Vec<String>>,
) -> Result<()>
Expand description

Entry point for xvc pipeline step output command.

It loads the pipeline and the step with the given names. Then records files, metrics and images as XvcOutputs of the step.

TODO: This can be split like [crate::pipeline::api::step_dependency::XvcDependencyList].