Would be great if I could store my input files in json files, either one-lined or pretty formatted and pass in the filename to the runner, rather than having to pass in the json directly.
I can work around this by one-lining my json input file, and then using --inputs '$(cat ${INPUT_FILE})'
uvx arazzo-runner execute-workflow \
specs/pact_broker_arazzo.yaml \
--workflow-id ${WORKFLOW_ID} \
--server-variables '{"PACTBROKER_RUNNER_SERVER_HOSTNAME": "${HOSTNAME}"}' \
--inputs '$(cat ${INPUT_FILE})'
but this impacts readability of the input files for users
Thanks!
Would be great if I could store my input files in json files, either one-lined or pretty formatted and pass in the filename to the runner, rather than having to pass in the json directly.
I can work around this by one-lining my json input file, and then using
--inputs '$(cat ${INPUT_FILE})'but this impacts readability of the input files for users
Thanks!