tailorctl workspace workflow create

Create or update a workflow with the specified script and dependencies.

This command will:

  1. Analyze workflow dependencies
  2. Create or update job functions for each dependency
  3. Create or update the workflow

The command returns immediately with a workflow ID that can be used to start executions.

Usage

tailorctl workspace workflow create [flags]

Flags

  -h, --help                          help for create
      --quiet                         Suppress non-essential output
  -d, --workflow-deps-dir string      Directory containing dependency job functions
  -n, --workflow-name string          Name of the workflow to create/update
  -s, --workflow-script-path string   Path to the main workflow script

Flags inherited from parent commands

  -w, --workspace_id string   workspace ID (overrides active context)

Examples

tailorctl workspace workflow create --workflow-name my-workflow --workflow-script-path ./workflows/main.js --workflow-deps-dir ./workflows/deps

See also