abp icon indicating copy to clipboard operation
abp copied to clipboard

Abp CLI command should abort/throw if wrong option is given

Open minhtaile2712 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

I'm giving wrong options to abp CLI and it still runs successfully.

Describe the solution you'd like

Throw/abort if any wrong option is given.

Every CLI commands should abort if unknown options/arguments are given. User should know that the option they gave is not correct/not supported. Dotnet command is an example for that.

The current behavior is that the command still run successfully without letting user know they have typed in ineffective options.

Additional context

No response

minhtaile2712 avatar Jan 09 '24 04:01 minhtaile2712

hi

Steps needed to reproduce the problem.

maliming avatar Jan 09 '24 05:01 maliming