Skip to main content

zigflow validate

zigflow validate

Validate a Zigflow workflow file

Synopsis

Validate a Zigflow workflow definition written in the Zigflow DSL.

This command parses the provided workflow file and verifies that it is syntactically valid and structurally correct according to the Zigflow specification. It does not execute the workflow or connect to Temporal.

Validation includes:

  • DSL syntax checks
  • Schema and structural validation
  • Reference and dependency checks where applicable

The command exits with a non-zero status code if validation fails, making it suitable for use in scripts, CI pipelines and automated tooling.

Arguments: workflow-file Path to the Zigflow workflow file to validate

zigflow validate <workflow-file> [flags]

Options

  -h, --help          help for validate
--output-json Output as JSON

Options inherited from parent commands

  -l, --log-level string   Set log level (default "info")

SEE ALSO

  • zigflow - A Temporal DSL for turning declarative YAML into production-ready workflows
Auto generated by spf13/cobra on 20-Feb-2026