Repository navigation
Release v3.101.0
cratis render can now stamp your own copyright header on generated code, and renders with Stage 4.198.0.
Added
cratis render --file-header <LINE>(repeatable;\nseparates lines in one value) and--file-header-file <FILE>put a header comment at the top of every generated C#, TypeScript and JavaScript file.{year}is replaced with the current year. Without either option, generated files have no header.
Changed
cratis renderandcratis runuse Stage 4.198.0 and Screenplay 4.241.0. Generated C# uses short type names withusingdirectives instead of fully qualifiedglobal::names, generated files no longer carry a Cratis copyright header, and a new application has a single project: specifications live beside the slices and compile into the application project in Debug builds, with no separate.Specsproject.cratis renderadmits models up to ESM v32.