{{#each this.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 " this.model.backend "/encode/" this.cliCommand) as |copyEncodeCommand|}} vault write {{this.model.backend}}/encode/{{this.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 " this.model.backend "/decode/" this.cliCommand) as |copyDecodeCommand|}} vault write {{this.model.backend}}/decode/{{this.cliCommand}} {{/let}}