We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version info: frep-1.3.10-linux-amd64
According to git.mod, frep now uses 'Masterminds/sprig' of V2.22.
github.com/Masterminds/sprig v2.22.0+incompatible
I hope to have a 'get' dict function which is available from V3 of 'Masterminds/sprig'.
I always use frep with '--missing error'. With 'get', I can say somthing like
{{ if eq (get . "optional_value") "ON" }}
instead of
{{ if hasKey . "optional_value" }} {{ if eq .optional_value "ON" }}
The text was updated successfully, but these errors were encountered:
I will upgrade to sprig V3 for next major version.
Sorry, something went wrong.
This idiom seems to work with --missing error --strict
--missing error --strict
{{ append (pluck "optional_value" .) "UNDEF" | first }}
what's the ETA, having get would be so great
get
No branches or pull requests
version info: frep-1.3.10-linux-amd64
According to git.mod, frep now uses 'Masterminds/sprig' of V2.22.
github.com/Masterminds/sprig v2.22.0+incompatible
I hope to have a 'get' dict function which is available from V3 of 'Masterminds/sprig'.
I always use frep with '--missing error'.
With 'get', I can say somthing like
{{ if eq (get . "optional_value") "ON" }}
instead of
{{ if hasKey . "optional_value" }} {{ if eq .optional_value "ON" }}
The text was updated successfully, but these errors were encountered: