Expand description
Core of the reference CLI, extracted from main.rs so integration
tests can drive it with fixture types instead of having to link a
separate binary that carries them.
main.rs collects types from registered_types() and calls
run_codegen; tests construct their own &[ElmTypeInfo] and call
it directly with a tempdir as output.
Structs§
- Codegen
Options - Everything the CLI’s request-handling layer needs to know.
Enums§
- Codegen
Outcome - Outcome of a codegen run.
Functions§
- run_
codegen - Run codegen over an explicit list of types. Callers that want the
default “all registered types” behavior should pass
registered_types()themselves.