Add standard functions to format templates
Is your feature request related to a problem? Please describe.
If I need to make a field uppercase in a template like {{ .Name | upper }} I can't do this with dasel because the of the lack of standard template functions.
Describe the solution you'd like Include all functions from sprig for example looks like a possible solution.
This is definitely an option. I'll take a look at sprig and see if I can include it in the next release.
I've added this in https://github.com/TomWright/dasel/commit/b779b8820ed2b3f4c2d1adb5c0f299dccb785868 and it will be included in the next release.
@TomWright thanks for considering this request. May you could document this now in Format ?
I will do once I prepare the release
On Thu, 6 Jan 2022, 16:05 Kroum Tzanev, @.***> wrote:
@TomWright https://github.com/TomWright thanks for considering this request. May you could document this now in Format https://daseldocs.tomwright.me/usage/flags/format ?
— Reply to this email directly, view it on GitHub https://github.com/TomWright/dasel/issues/188#issuecomment-1006708263, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHEPO4NYDW33XQTRBNXLI3UUW4TVANCNFSM5JPTOAMQ . You are receiving this because you were mentioned.Message ID: @.***>