Closed n-rodriguez closed 1 year ago
Actually it was my fault : https://github.com/jbox-web/squarectl/blob/3f1be1861d8e46540f53e6bbb26da06d4cf2858f/src/squarectl/cli.cr#L15-L17
I managed to handle the case like this : https://github.com/jbox-web/squarectl/commit/dbabe261dbbd871fed7dd546c92fcb47a81cdd8b
When command or subcommand is unknown the default behavior is to print help and
exit 0
:It would be nice to notify user about the missing command, something like
Unknow "squarectl compose push" command
and toexit 1
,Thank you!
Note: this issue has been found while working on https://github.com/jbox-web/squarectl