<!-- 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 generate
Compile .proto files into language bindings
Compile all .proto files in messages/ into language bindings in gen/.
Reads axiom.yaml for the target language and shells out to protoc with the appropriate flags. Requires protoc and the language-specific protoc plugin to be installed.
protoc rewrites gen/ in place. When the regenerated bindings differ from the ones already committed in gen/, a warning is printed to stderr naming the files that changed — a moved shape means anything compiled against the old bindings, including published callers, may break. It is a warning, not an error: regenerating after an intentional .proto change is the normal workflow.
Run automatically as part of: axiom dev, axiom test, axiom build.
Usage
axiom generate [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | help for generate |
See also
- axiom — Axiom CLI — build and push node packages
- Guide: Create a node (Python)
- Guide: Create a node (Go)
- Guide: Create a node (TypeScript)
- Guide: Create a node (Rust)
- Guide: Create a node (Java)
- Guide: Create a node (C#)
- Guide: Import package types
Related