mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
385 B
385 B
{% hint style="warning" %} Note that versions prior to 4.18 require the 'eval/e' command to be specified.
yq e <exp> <file>
{% endhint %}
Decode Base64
Decoded data is assumed to be a string.
Given a sample.yml file of:
V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig==
then
yq -p=props sample.properties
will output
V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig: =