You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI to print a notification if a user is using the older version and is recommended to get the new version.
Use case
As kn CLI user I would like to get informed that I'm using an older version of the CLI and that a new one is available, and what command to I could use to quickly update based on the OS and method installation I used.
UI Example
I know there are different ways to implement provide a good UX.
And a few considerations and questions:
Feature on by default?
Can a user turn it off via env variable?
How often to do remote call to check for a new version?
How to handle operating system (yum, Linux, Windows, MacOS) and method (ie installshield, brew, etc) installation
I opening this issue because I just got notified for a CLI I use Github CLI gh which I installed via homebrew and I liked the experience.
Things I like about the UX:
I got notified the is a new version
Gave me the command to copy paste
Color-coded (ie blue for version, yellow for link)
Told me what version I have and what's the new version
As MVP and to get user feedback just implementing homebrew.
Not sure if this is something that homebrew does automatically or something we need to provide in the metadata.
The text was updated successfully, but these errors were encountered:
Thanks for the heads up and I definitely find this useful. I don't think its a brew feature as it mention to call brew update first (so your local brew installation does not know about this). It looks like that gh itself is aware that is has been installed via brew, so recommends the update steps.
minikube does something similar by phoning home.
When we introduce such a feature it needs to be possible to disable for privacy concerned people.
wrt/ the color coding: I agree that this is helpful for visualizing important points, however this is a wider discussion how to introduce coloring in general (do you remember that hipster mode that I proposed a year ago or so ? 🤓
Feature request
The CLI to print a notification if a user is using the older version and is recommended to get the new version.
Use case
As kn CLI user I would like to get informed that I'm using an older version of the CLI and that a new one is available, and what command to I could use to quickly update based on the OS and method installation I used.
UI Example
I know there are different ways to implement provide a good UX.
And a few considerations and questions:
I opening this issue because I just got notified for a CLI I use Github CLI

gh
which I installed via homebrew and I liked the experience.Things I like about the UX:
As MVP and to get user feedback just implementing homebrew.
Not sure if this is something that homebrew does automatically or something we need to provide in the metadata.
The text was updated successfully, but these errors were encountered: