Commit graph

8 commits

Author SHA1 Message Date
Corey Johnson
14561cba9f Don't print an error if file doesn't exist 2019-12-03 16:44:37 -08:00
Corey Johnson
40d45da12d more documentation 2019-12-03 16:38:13 -08:00
Corey Johnson
afaab6d16c Add a config migration function 2019-12-03 16:36:45 -08:00
Mislav Marohnić
e87775845d Also print cmd usage string on "unknown command" 2019-10-31 22:44:43 +01:00
Mislav Marohnić
faa96be9ea Ensure that errors are printed to stderr 2019-10-31 15:46:38 +01:00
Mislav Marohnić
a6e61a3a8d Silence Cobra usage on errors
When an error occurs anywhere in a command, Cobra used to print the
error itself and command usage help.

We already print error in `main()`, and we don't want to use command
usage string on anything other than flag-parsing errors.

This also fixes the double output of each error.
2019-10-31 13:47:10 +01:00
Mislav Marohnić
adf5a832fe Rename to "github/gh-cli" 2019-10-04 10:50:12 +02:00
nate smith
8dd03144ff initial commit 2019-10-03 22:20:31 -05:00