oag-cli-0.1.1 is not a library.
oag-cli
Command-line interface for oag.
Installs a single binary called oag that parses OpenAPI specs and generates typed client code.
Install
Commands
| Command | Description |
|---|---|
oag generate |
Generate client code from an OpenAPI spec |
oag validate |
Validate an OpenAPI spec and report errors |
oag inspect |
Dump the parsed intermediate representation (YAML or JSON) |
oag init |
Create a .urmzd.oag.yaml config file in the current directory |
oag completions <shell> |
Generate shell completions (bash, zsh, fish, etc.) |
Configuration
The CLI automatically loads .urmzd.oag.yaml from the current directory. CLI flags override config values:
# Use config file
# Override specific options
See the root README for the full configuration reference.
Depends on
oag-core— parser, IR, and configoag-typescript— TypeScript generatoroag-react— React generator