f5devcentral / f5-cli

F5 CLI
Apache License 2.0
12 stars 1 forks source link

F5 cli piping output to file produces blank file - goes to stderr #1

Open JeffGiroux opened 4 years ago

JeffGiroux commented 4 years ago

It appears that the F5 cli is outputting to stderr instead of stdout. When I run the following command, the json file is blank.

f5 cloud-services subscription show --subscription-id s-xyz > test.json

When I pipe to stderr, I see expected json payload in my json file.

f5 cloud-services subscription show --subscription-id s-xyz 2> test.json

shyawnkarim commented 4 years ago

Thank you for this feedback. Internal issue AUTOSDK-217 has been created for this.