Closed mrjones2014 closed 2 years ago
Now that we have the install script, we could just add update checking, and if an update is available, figure out if ctrlg
is installed via cargo or the install script, and output a help message with instructions on how to update with one or the other.
Similar Issues
Description
Implement the CLI itself checking for updates and the ability for it to update itself.
https://github.com/jaemk/self_update
Use Case
Currently the only way people would know there is an update available is by checking here or via Cargo. It would be cool to print a message or something notifying that the user is able to run
ctrlg update
to update the CLI (ctrlg update
not implemented yet).