Registry Commands

Scaffold Workflow

Creates a DotZero workflow spec and folder structure locally, along with the specified parallel and/or sequential component specs and applicable attachments.

Usage: zeroctl scaffold [options]

Options:
  -c STRING, --capabilities-workflow-name=STRING   Name of capabilities workflow to scaffold
  -d STRING, --dist-workflow-name=STRING           Name of distribution workflow to scaffold
  -p, --parallel-components                        List of parallel components to scaffold. Capabilities component format: <kind>:<capability_name>:<number_to_create>. Workflow component format:
                                                   <account_name>:<namespace>::<workflow_name>
  -s, --sequential-components                      List of sequential components to scaffold. Capabilities component format: <kind>:<capability_name>:<number_to_create>. Workflow component
                                                   format: <account_name>:<namespace>::<workflow_name>

Example: create a capabilities workflow:

zeroctl scaffold -c widget-deploy -p AnsiblePlayJob:deploy-package:1 -s BashScriptJob:cleanup:1 -s BashScriptJob:server-restart:1

Example: create a dist workflow:

zeroctl scaffold -d aws

Update Workflow

Updates an existing local DotZero workflow spec, attachment specs, and folder structure locally, and adds the specified parallel and/or sequential components to the existing workflow.

Example: update an existing local capabilities workflow:

Example: update an existing local dist workflow:

Last updated

Was this helpful?