-
Notifications
You must be signed in to change notification settings - Fork 266
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
Add machine readable output (-o flag) to kn source binding describe #1148
Conversation
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.
@Kaustubh-pande: 0 warnings.
In response to this:
Description
Changes
Add machine readable output (-o flag) to kn source binding describe
Reference
Fixes #1097
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Hi @Kaustubh-pande. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @navidshaikh |
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.
looks good. Can you update the CHANGELOG as well
1e14a81
to
43cce91
Compare
Thanks! |
43cce91
to
159f9cd
Compare
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.
minor nit in the example, rest lgtm!
159f9cd
to
12262c5
Compare
12262c5
to
bcbdda9
Compare
The following is the coverage report on the affected files.
|
|
||
return cmd | ||
machineReadablePrintFlags.AddFlags(command) | ||
command.Flag("output").Usage = fmt.Sprintf("Output format. One of: %s.", strings.Join(machineReadablePrintFlags.AllowedFormats(), "|")) |
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.
this line is only needed when we're adding any other custom output format (like -ourl
) to be able to append that custom format to help message, otherwise this line can be omitted and the default help message is sufficient
@arghya88 also applies to all the recent -o
PRs landed without -ourl
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.
/lgtm
/approve
| Add machine readable output (-o flag) to kn source binding describe | ||
| https://github.com/knative/client/pull/1148[#1148] | ||
|
||
| 🐛 |
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.
| 🐛 | |
| 🎁 |
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.
rebase against latest master should resolve this
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Kaustubh-pande, navidshaikh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* [release-v1.5] Add plugins: event, kafka, workflow * Update vendor dir
Description
Changes
Add machine readable output (-o flag) to kn source binding describe
Reference
Fixes #1097