# typebridge-cli
> Standalone CLI for typewriter generation, drift checking, and watch mode.
[](https://crates.io/crates/typebridge-cli)
[](https://docs.rs/typebridge-cli)
## Commands
| `typewriter generate <file>` | Generate output for one Rust source file |
| `typewriter generate --all` | Generate output for all project Rust files |
| `typewriter check` | Detect drift between expected and existing generated files |
| `typewriter check --ci` | CI gate: exit non-zero when drift is found |
| `typewriter check --json` | Print structured JSON drift report |
| `typewriter watch [path]` | Watch for `.rs` changes and regenerate incrementally |
## Installation
```bash
cargo install typebridge-cli
```
## Cargo Plugin Usage
`typebridge-cli` also ships `cargo-typewriter`, so you can run:
```bash
cargo typewriter generate --all
cargo typewriter check --ci
```
## License
Apache-2.0 — [Darshan Vichhi](https://github.com/aarambh-darshan)