- Only report an update available if the version number of the release
is greater than the current version
- Removes `command` dependency from `update` package; instead, pass
current version as an argument
- Remove `brew upgrade` instructions since we can't be certain that gh
was installed via Homebrew in the first place.
- Does not check for updates unless stderr is a tty
- Preserve stderr color output even if stdout is not a tty
- Fixes stderr color output on Windows
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.