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

axiom flow assemble

Emit the flow's assembled SourceGraph JSON (no save, no compile)

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 assemble

Emit the flow's assembled SourceGraph JSON (no save, no compile)

Assemble the SourceGraph the registry would receive for this flow.yaml and print it as JSON — the same document shape the editor stores and edits. Nothing is saved or compiled; package resolution still uses the live registry, so a prior "axiom login" is required.

Round trip with the editor's draft format:

axiom flow pull --from-file draft.json -o flow.yaml   # SourceGraph → flow.yaml
...edit flow.yaml...
axiom flow assemble flow.yaml -o updated.json         # flow.yaml → SourceGraph

Usage

axiom flow assemble [flow.yaml] [flags]

Flags

FlagShorthandTypeDefaultDescription
--help-hboolhelp for assemble
--out-ostringWrite the JSON to a file instead of stdout

See also

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