This mostly accommodates scenarios where the options for command input may already be in JSON format. These could be modified from {"an-option": "foobar"} to --an-option foobar with jq but some fussing would be required. This change will allow us to just pass through the JSON to any command that accepts options using a new --jsonInput parameter.
This mostly accommodates scenarios where the options for command input may already be in JSON format. These could be modified from
{"an-option": "foobar"}
to--an-option foobar
withjq
but some fussing would be required. This change will allow us to just pass through the JSON to any command that accepts options using a new--jsonInput
parameter.