geofffranks / spruce

A BOSH template merge tool
MIT License
426 stars 77 forks source link

Add (( base64-decode )) operator #374

Closed riendeau closed 11 months ago

riendeau commented 1 year ago

Adds a (( base64-decode )) operator which can be useful in cases where you need to do string manipulation involving strings that are originally base64-encoded in order to wind up with a specific format.

Heavily patterned after PR that added the (( base64 )) operator: https://github.com/geofffranks/spruce/pull/297

I've inlined the example, as https://spruce.cf/ where many of the other examples point to appears to not currently be working.