Public beta — not for production use. Data may be wiped at any time. Questions? Contact us.
Documentation menu

axiom flow compile

Resolve nodes, lay out, and compile a runnable flow artifact

View as Markdown
<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT. Source of truth: the cobra command definitions in cmd/axiom/cmd/. Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

axiom flow compile

Resolve nodes, lay out, and compile a runnable flow artifact

Compile a flow.yaml into a runnable flow artifact:

1. validate the file structurally
2. resolve each node's package + node name to a registry node ULID and its
   input/output message types
3. auto-layout any unpinned nodes on the grid
4. POST the assembled graph to the registry compiler

Requires a prior "axiom login". Prints the compiled artifact id. Defaults to ./flow.yaml. ADR-086.

Usage

axiom flow compile [flow.yaml] [flags]

Flags

FlagShorthandTypeDefaultDescription
--help-hboolhelp for compile
--jsonboolEmit a single JSON result object

See also

  • axiom flow — Author and compile flows (graphs of published nodes)
Related