Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Notify If New Version Available #101

Open
frankgreco opened this issue Apr 20, 2018 · 0 comments
Open

Notify If New Version Available #101

frankgreco opened this issue Apr 20, 2018 · 0 comments

Comments

@frankgreco
Copy link
Contributor

It is useful to notify the user if a new version of kanalictl is available.

Here is an example of how Minikube does it:

There is a file called last_update_check that keeps track of the last time a user was notified of a new version. On a certain interval, it will check to see if a user is using the latest version and if not, prompt with the following text:

There is a newer version of minikube available (v24.0).  Download it here: https://foo.bar.com/v24.0

Proposed Solution:
Minic Minikube's behavior. The last_update_check file would live in ~/.kanalictl/. The check would occur on every kanalictl command. The interval at which this check is preformed can be discussed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant