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

Better error messages when options are misplaced or missing

Open drewblessing opened this issue 12 years ago • 0 comments

Example: gitlab snippet add file.txt -t title -n name

Looks ok, right? But it gives a big ugly stack trace. In this case it was simply missing the project ID or name: gitlab snippet add 13 file.txt -t title -n name

We should give some nicer messages that say something went wrong and here's maybe what happened...

drewblessing avatar Apr 19 '13 21:04 drewblessing