-
Notifications
You must be signed in to change notification settings - Fork 56
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
t2 update: autocheck for out of date firmware with each cli usage #257
Comments
maybe add a |
I don't think this should be done on every command. It would be more reasonable to:
|
I like the idea of showing the user when a new version is available, as other CLI tools do. And agree that it should not be every command, which is why I suggested a date stamp file to ensure it's only called once per day (for example). or are you advocating you can only check for a new version be |
There is a package on npm which many cli tool uses which actually fires away the update check in a background thread and is very smart on how it does things. Give me a minute... |
Here we go! 🎢 |
Ah yes! That node module would be perfect. It's super handy to be notified when some component of the system is out of date. |
This is still a useful feature for anyone interested in contributing. The fix would entail adding a "minCLI" and "maxCLI" to each property of the |
Revisiting this issue, it looks like discussion was around update notifications for both CLI and firmware.
@johnnyman727 I'm trying to understand your proposed solution. It seems to have more to do with compatibility between CLI version and firmware version than to do with whether your firmware is up to date. Is that correct? |
With the Tessel 1 CLI, we would check if the CLI or firmware was out of date each time any command was run. This helped users know right away when an update was available rather than running it only when they run into problems.
The text was updated successfully, but these errors were encountered: