levant
levant copied to clipboard
Add -strict to error if there is a key missing
Currently if you forget to pass in variable you'll be left with <no value>
in the template.
This prevents rendering of templates unless all of the variables are set.
[ERROR] levant/command: template: jobTemplate:2:3: executing "jobTemplate" at <.foo>: map has no entry for key "foo"
Not sure of the name -strict
😆
📝 perhaps this should be the default behaviour
@jrasell I think maybe you are going to have to be the one to smash the merge button on this.
@jrasell Waiting for this one to be merged as well :)
Hi, is there anything blocking the merge of this PR? Looks like tests pass and it's been approved by the maintainer.
Getting this in would be great. Any update?