cycloid-cli icon indicating copy to clipboard operation
cycloid-cli copied to clipboard

errors: add type on errors

Open gaelL opened this issue 5 years ago • 0 comments

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

gaelL avatar Jan 14 '21 10:01 gaelL