Skip to content

v0.1.0

Compare
Choose a tag to compare
@brikis98 brikis98 released this 20 Sep 11:16
· 241 commits to master since this release

BACKWARDS INCOMPATIBLE CHANGES

  • Boilerplate now supports types for variables. Each variable in the boilerplate.yml file can define a type field set to string, int, float, bool, list, map, or enum (enum variables can also include a list of options). 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 check if eq .Foo "true"), you can loop over lists and maps using the range keyword, and you can do basic arithmetic on ints and floats.
  • The prompt field in boilerplate.yml has been renamed to description.