Commit graph

6 commits

Author SHA1 Message Date
Mislav Marohnić
a710893fc1 Rename to cli/cli 2020-01-24 16:08:52 +01:00
Corey Johnson
23fdd730e9 Less 🌭 2019-12-11 16:52:16 -08:00
Corey Johnson
9428df4597 Fix tests 2019-12-11 16:48:33 -08:00
Mislav Marohnić
67f0cf3ce3 Improvements to update notifier
- 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
2019-12-04 14:47:27 +01:00
Corey Johnson
f8f0aa829e Only run in prod 2019-12-02 15:57:34 -08:00
Corey Johnson
1231ddd01c Add test 2019-12-02 15:08:36 -08:00