v0.1.0
BACKWARDS INCOMPATIBLE CHANGES
- Boilerplate now supports types for variables. Each variable in the
boilerplate.yml
file can define atype
field set to string, int, float, bool, list, map, or enum (enum variables can also include a list ofoptions
). This allows for some basic error checking of the variable values and, even more importantly, allows you to use the corresponding Go template syntax for those types. For example, if-statements work as you would expect with booleans (no more having to checkif eq .Foo "true"
), you can loop over lists and maps using therange
keyword, and you can do basic arithmetic on ints and floats. - The
prompt
field inboilerplate.yml
has been renamed todescription
.