You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands have a well defined set of flags and/or arguments, and what they should look like.
We currently validate one parameter at a time, so if a user has 2 incorrect parameters, they need to run the command once, see the 1st error, fix it. Run the command again, see the 2nd error, fix it. Run the command again.
We can validate the entire command parameters at once, and show all errors at once, so the user doesn't need to do multiple retries for the same command.
The text was updated successfully, but these errors were encountered:
xoscar
changed the title
add validations for command's flags and arguments
[CLI Improvements] add validations for command's flags and arguments
Apr 10, 2023
Commands have a well defined set of flags and/or arguments, and what they should look like.
We currently validate one parameter at a time, so if a user has 2 incorrect parameters, they need to run the command once, see the 1st error, fix it. Run the command again, see the 2nd error, fix it. Run the command again.
We can validate the entire command parameters at once, and show all errors at once, so the user doesn't need to do multiple retries for the same command.
The text was updated successfully, but these errors were encountered: