-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 Input Validations for Command Flags for the command alpha generate
#4193
Comments
Hi, I am interested in contributing to kubebuilder and would like to take this up as my first issue. |
Yes, sure!! |
thanks a lot |
Hi, i would like some guidance on starting on this issue. As i understand this depends on the #4180 PR that you have created. |
Hi @architlatkar27, In this case, we need to add validations for the flags. (see that we are using COBRA) These are the only flags available in the command:
Let me know if you need further clarification! |
I checked this one. kubebuilder/pkg/cli/alpha/internal/generate.go Lines 87 to 110 in f7a02ad
So, I am closing this one since it is done already. |
What do you want to happen?
Currently, the alpha generate command lacks proper input validation for its flags. This issue aims to add robust validation to ensure that invalid flag values are caught early, improving the user experience and preventing potential runtime errors.
Acceptance Criteria:
For reference see its code in: #4180
Extra Labels
No response
The text was updated successfully, but these errors were encountered: