cycloid-cli
cycloid-cli copied to clipboard
errors: add type on errors
The goal of this issue is to add Types on errors to be able to differenciate the one from cobra (command typos), the one from the CLI logic itself (enable to read files and so on), the swagger validation errors and the errors returned by Cycloid API.
It would help to display better error messages but also to remove the usage display for each errors. Maybe keep usage display only for cobra commandline errors