Notify user when a new version is available
Describe your new idea or enhancement
When using the CLI it would be great if it would periodically check the latest release of Siera CLI and compare it to the version that is currently installed and prompt the user to update.
Could check every time when Siera command is invoked if an update is available and print a message or issue a prompt. Print message might be better/ less intrusive cos otherwise usage in scripts breaks
Hmmmm, I will have a think about this. Commonly, this is not the responsibility of the CLI, but of the package manager.
Solution one: check on every command
- This to me feels way too overkill as I would really not like to see every single time that there is an update. Also, this will break scripts like jq.
Solution two: check periodically
- I think this would be better in the end but we need to manage state, which could be done in the configuration but thats not the standard way of doing it. This would also break scripts as mentioned before.
Are these the two solutions or am I missing something here?