-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
tctl: always format resources as lists in JSON/YAML #4281
Conversation
The original behavior was introduced in #652. |
OK, the original behavior was imitating the behavior of older |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+7 -245
Nice.
I reviewed this with @russjones I think since it can potentially cause a breaking change for customers scripts we should add this 5.0 and list it as a potential breaking changes to customers automation scripts. |
Sounds good - should we close this for now, then reopen and merge it after we've cut the 4.4 branch? |
Let's keep it open, adding to the milestone is enough for now. |
5e23069
to
1502a61
Compare
|
This makes it more practical for parsing (e.g. with `jq`). Also, refactor the formatting code because all JSON/YAML formatting is the same.
1502a61
to
b9bb485
Compare
This makes it more practical for parsing (e.g. with
jq
).Also, refactor the formatting code because all JSON/YAML formatting is
the same.