<!-- 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 source node
Print a published node's handler source and repository link
Fetch a published node's handler source (GET /nodes/{id}/source) — the same data the MCP's axiom_get_source returns. When @version is omitted, the most recently published version is used.
By default the source code prints to stdout (pipes cleanly into a file or pager) and the repository link + metadata print to stderr. With --json, the full structured response (source_snippet, repo_url, commit_hash, source_url, and — for an Instance node — the inherited generic origin) prints to stdout as one object.
axiom source node nadia/summarizer/Summarize
axiom source node nadia/summarizer/Summarize@0.1.0 > Summarize.py
axiom source node nadia/summarizer/Summarize --json | jq .Usage
axiom source node <handle>/<package>/<node>[@version] [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | help for node | |
--json | bool | Emit the full structured response as one JSON object |
See also
- axiom source — Print a node's handler source code and a link to its full repository
Related