This PR adds support for types to boilerplate. You can now declare variables as string, int, float, bool, list, map, or enum, both as a way to validate the values, and so that you can use the corresponding helpers in Go template syntax (e.g. such as using range with a list).
This is a major refactor. Along the way, I renamed the prompt parameter to description, since the actual prompt, after the UI update, is now always “Enter a value”.
This PR adds support for types to boilerplate. You can now declare variables as string, int, float, bool, list, map, or enum, both as a way to validate the values, and so that you can use the corresponding helpers in Go template syntax (e.g. such as using
range
with a list).This is a major refactor. Along the way, I renamed the
prompt
parameter todescription
, since the actual prompt, after the UI update, is now always “Enter a value”.