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
When the user supplies an unknown option/parameter, they should receive an error. This aligns with an optimal user experience, because the application shouldn't silently discard arguments that the user assumed would somehow change the behavior of the program.
Need to add a throw new CliFxException(...) statement somewhere in CommandSchema.InjectParameters and CommandSchema.InjectOptions.
Add corresponding tests.
The text was updated successfully, but these errors were encountered:
When the user supplies an unknown option/parameter, they should receive an error. This aligns with an optimal user experience, because the application shouldn't silently discard arguments that the user assumed would somehow change the behavior of the program.
Need to add a
throw new CliFxException(...)
statement somewhere inCommandSchema.InjectParameters
andCommandSchema.InjectOptions
.Add corresponding tests.
The text was updated successfully, but these errors were encountered: