Use templates: CLI

Create a template using the ZenML CLI

This is a ZenML Pro-only feature. Please sign up here to get access.

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>

You need to have an active remote stack while running this command or you can specify one with the --stack option.

ZenML Scarf

Last updated

Was this helpful?