<!-- 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 → SourceGraphUsage
axiom flow assemble [flow.yaml] [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | help for assemble | |
--out | -o | string | Write the JSON to a file instead of stdout |
See also
- axiom flow — Author and compile flows (graphs of published nodes)
Related