typebridge-cli 0.1.0

Standalone CLI for typewriter generation, drift checks, and watch mode
Documentation

typebridge-cli

Standalone CLI for typewriter generation, drift checking, and watch mode.

Crates.io Docs.rs

Commands

Command Purpose
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

cargo install typebridge-cli

Cargo Plugin Usage

typebridge-cli also ships cargo-typewriter, so you can run:

cargo typewriter generate --all
cargo typewriter check --ci

License

Apache-2.0 — Darshan Vichhi