-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-o json
doesn't produce JSON formatted output
#101
Comments
Thank you @ekquasar ; will look into this. The UQL commands override the -o flag, so I expect this may be caused by this interaction. |
@ekquasar , following up on this, I believe this is a cobra limitation, see https://umarcor.github.io/cobra/#concepts. If not satisfied enough to close this issue, LMK and I will look further. |
Fair enough. Nonetheless, from a user standpoint, it looks like Cisco code is broken whether or not it's a dependency issue. Maybe just drop the |
@ekquasar, following up on this: I agree the dependency behavior doesn't excuse it. That said, I will look into this when possible, as it will be better if we can support this usage form as well. |
@pnickolov Can I pick this up? |
Still buggy, but when it works it's a crucial feature - super productivity gain. Oh you injure me so, FSOC. |
The command using
-o json
still produces table-formatted output:Using latest FSOC:
> fsoc version fsoc version 0.37.0
While moving the
-o json
to the end of the command works:, the above is still a bug IMHO.
The text was updated successfully, but these errors were encountered: