bumblebee icon indicating copy to clipboard operation
bumblebee copied to clipboard

have CLI print help message if invalid number of args passsed

Open albertlockett opened this issue 1 year ago • 0 comments

Version

No response

Linux Version

No response

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

It would be nice if the CLI would print the help message for the command if there is an invalid number of arguments passed.

For example:

$ ~/go/bin/bee package hello                   
Error: accepts 2 arg(s), received 1
2024/02/15 16:59:00 exiting: accepts 2 arg(s), received 1

I would prefer if it printed this: https://github.com/solo-io/bumblebee/blob/c2422b5bab66754b286d062317e244f02a431dac/pkg/cli/internal/commands/package/package.go#L39-L50

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional Context

No response

albertlockett avatar Feb 15 '24 21:02 albertlockett