metaxy-cli
CLI that scans Rust source files annotated with #[rpc_query] /
#[rpc_mutation] and generates TypeScript type definitions and a fully typed
RPC client.
Part of the metaxy project.
Installation
Quick Start
Documentation
Full documentation: metaxy-demo.vercel.app/docs
- CLI Commands — generate, scan, watch
- Config File — metaxy.config.toml reference
- Codegen — type mappings, serde, generics, field naming
- Client — config, headers, timeout, hooks, retry, dedup
- Frameworks — Svelte 5, React, Vue 3, SolidJS
License
MIT OR Apache-2.0