Closed shantanugadgil closed 3 years ago
This isn't really possible while still supporting environment variables where that's important. If json structure is important, really you need to validate your own schema before feeding to the template.
In a practical sense: p2 doesn't give me any options to detect this AFAIK, so otherwise a flag would be possible.
I was hoping p2
has something equivalent of jinja2
's equivalent of "error if variable is unset"
can p2cli be made to return non-zero if there are missing input values?
right now it seems to return 0 even if input values are missing.