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

axiom flow pull

Materialize an existing compiled flow into an editable flow.yaml

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 pull

Materialize an existing compiled flow into an editable flow.yaml

Pull an existing flow artifact's stored SourceGraph and write it back out as a flow.yaml you can edit and re-compile — the inverse of "axiom flow compile". The UI edits existing flows; this lets the CLI do the same.

With --from-file the SourceGraph JSON is read from a local file instead of the registry — no artifact id, no login. This is the inbound half of the editor round trip ("axiom flow assemble" is the outbound half): hand the CLI a serialized canvas document and get an editable flow.yaml.

Requires a prior "axiom login" (unless --from-file). Writes ./flow.yaml (or -o <file>).

Usage

axiom flow pull <artifact-id> | --from-file <sourcegraph.json> [flags]

Flags

FlagShorthandTypeDefaultDescription
--from-filestringRead the SourceGraph JSON from a local file instead of the registry
--help-hboolhelp for pull
--out-ostringflow.yamlOutput flow.yaml path

See also

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