Use templates: CLI

Create a template using the ZenML CLI

Create a template

You can use the ZenML CLI to create a run template:

# The <PIPELINE_SOURCE_PATH> will be `run.my_pipeline` if you defined a
# pipeline with name `my_pipeline` in a file called `run.py`
zenml pipeline create-run-template <PIPELINE_SOURCE_PATH> --name=<TEMPLATE_NAME>
ZenML Scarf

Last updated

Was this helpful?