-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI should indicate that a newer version is available #141
Comments
Changed the title slightly. Support team received a number of tickets about orphan SSH sessions and had to refund credits for these cause users are not aware of the latest CLI. What's good enough IMO:
|
We have to keep in mind that this has some negative implications as well, especially this part: * If a newer version is available, add a colorful message at the end of every command's output advising to run `sem upgrade`. This behavior is present in I'm not against the idea, but I would keep an open eye for these edge cases, and made sure that the semaphore CLI offers a pleasant experience for automation (scripting) as well. |
From the perspective of scriptability, I would maybe even prefer this flow: If you have an old CLI:
The reason for this is when I am scripting it is easier to foresee that the command flat-out fails than for it to return something unexpected silently without breaking. Consider the following example, where I want to extract only projects names with a simple awk
It is easier to handle |
This is based on one customer question how to verify if latest version is being used.
We could print some warning message if there is new version available.
The text was updated successfully, but these errors were encountered: