arrow build
Build and validate a pipeline definition without running it. Useful for CI checks, debugging configuration, and verifying that your pipeline graph resolves correctly.
Syntax
bash
arrow build [pipeline] [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--graph | bool | false | Print the dependency graph as ASCII |
--dot | bool | false | Export the graph in DOT format for visualization |
--json | bool | false | Output pipeline details as JSON |
--strict | bool | false | Fail on warnings (e.g. unused variables) |
Examples
Validate all pipelines in the project:
terminal
$ arrow build
OK (4 pipelines)
View the dependency graph:
terminal
$ arrow build deploy --graph
Pipeline: deploy
install ──┬─> lint ──> build ──> package ──> deploy
└─> test ──> build ──> package ──> deploy
Export for graphviz visualization:
bash
arrow build deploy --dot > graph.dot dot -Tpng graph.dot -o graph.png
Check a single pipeline in strict mode:
bash
arrow build release --strict