{{#each model.transformFieldAttrs as |attr|}} {{#if (eq attr.type "object")}} {{else if (eq attr.type "array")}} {{else}} {{/if}} {{/each}}

Encode

To test the encoding capability of your transformation, use the following command. It will output an encoded_value.
{{#let (concat "vault write " model.backend "/encode/" cliCommand) as |copyEncodeCommand|}} vault write {{model.backend}}/encode/{{cliCommand}} {{/let}}

Decode

To test decoding capability of your transformation, use the encoded_value in the following command. It should return your original input.
{{#let (concat "vault write " model.backend "/decode/" cliCommand) as |copyDecodeCommand|}} vault write {{model.backend}}/decode/{{cliCommand}} {{/let}}