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

axiom flow mock

Manage the flow's authoring mocks (ADR-176)

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 mock

Manage the flow's authoring mocks (ADR-176)

Manage the mocks: section of a flow.yaml — per-node authoring fixtures that a dev-compiled artifact serves instead of invoking the real node (a keyed connector, anything with side effects). See "axiom flow compile --no-mocks" for minting the live artifact, and note a mocked artifact is never publishable.

Usage

axiom flow mock [flags]
axiom flow mock [command]

Flags

FlagShorthandTypeDefaultDescription
--help-hboolhelp for mock

Subcommands

CommandDescription
axiom flow mock addAdd or replace a node's mock fixture
axiom flow mock rmRemove a node's mock (or --all) from the mocks: section

See also