-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
shell autocomplete for k8s flags #2477
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.
@wjiec Nice!! Thanks for these updates Jayson!
@@ -44,11 +47,19 @@ var ( | |||
out = colorable.NewColorableStdout() | |||
) | |||
|
|||
type FlagError struct{ err error } |
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.
Do we need it to be exported?
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.
Indeed, this type does not need to be exported. make the private when your release the next version or i have a new pr? 🤦
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.
Thank you Jayson! I made a few updates on this. Made additional changes.
Please take a peek when I update next.
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.
@wjiec Figured I'll roll this in for the next drop. Will update per comments.
Thanks guys 😍 |
This PR has resolved the following two issues:
fixes #2471.