Closed nilskuhn closed 5 months ago
Good catch, as a workaround you can use command -v
to check if a command exists:
command -v goverter || go install github.com/jmattheis/goverter/cmd/goverter@latest
thanks, wasn't aware of command shell builtin
Describe the bug When running goverters help command via flag
--help
, it prints out the following:The bad thing is, that its return code is non-zero.
To Reproduce Run goverter with help command:
Return code is 1.
Expected behavior Goverter help message should be shown without an error message and the return code should be 0.
The bad thing about this is that there isn't even a
version
command, so no option to call goverter in a noop way to do an optional installation like this: