Skip to main content

gize_generator/
lib.rs

1//! Code generation engine for Gize.
2//!
3//! Two responsibilities:
4//! 1. Turn [`gize_core`] specs into file contents (via [`gize_templates`]).
5//! 2. Write those files **safely** — never clobbering user code without `--force`, and
6//!    supporting `--dry-run` (ADR-012).
7
8pub mod plan;
9pub mod registry;
10pub mod writer;
11
12pub mod scaffold;
13
14pub use plan::{FileOp, OpKind, Plan};
15pub use registry::{Edit, register_module};
16pub use writer::{Options, Report, Writer};