boilr
boilr copied to clipboard
Validation, required values, etc...
How can I add validation to the project.json variables?
- I.e. default empty value, but it's required to enter at least 10 chars?
- or pregenerated random stings
@schmunk42 right now you can use template conditionals to check the length and throw out an error.
Ability to specify regular expressions for validating fields should be good enough, I'll think about a solution that doesn't bloat the project.json syntax to solve it