Skip to content

Piping commands doesn't work #25906

Discussion options

You must be logged in to vote

Hi @thisismydesign,

Based on the usage:
--compact-output / -c:
By default, jq pretty-prints JSON output. Using this option will result in more compact output by instead putting each JSON object on a single line.

What’s the output of the command without the pipe? Is it json format?
If it’s not, please try to use command | xargs instead, it will set the output to oneline.

aws amplify start-job --app-id xxx --branch-name master --job-type RELEASE | xargs

Thanks

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants