-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome
Description
Describe the bug
Alerting about the availability of a new release for every invocation is excessive. Most tools store some config so they only issue alerts like this once a day.
Steps to reproduce the behavior
- Have a not latest release of the app
- Run
gh --help, see the new release alert - Run
gh --helpagain right away
Expected vs actual behavior
Most other apps like this I've worked with limit their alerts to e.g. once per new version, or once per new version per day, so as not to irritate their users with spammy output.
I found #743 & #2107 but they address suppressing this entirely in CI environments, which is a somewhat different use case. My argument here is that humans may want to see this when running it interactively, but they don't need to see it over and over and over again.
Logs
$ gh --help >/dev/null ; gh --help >/dev/null
A new release of gh is available: 1.2.1 → v1.3.0
https://github.com/cli/cli/releases/tag/v1.3.0
A new release of gh is available: 1.2.1 → v1.3.0
https://github.com/cli/cli/releases/tag/v1.3.0
Only one of these is needed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome