[Feat]: Add a note in Marker's CLI if there is a newer version available #289
Labels
A-marker-cargo
Area: All things connected to `cargo_marker`
C-enhancement
Category: New feature or request
E-good-first-issue
Participation: Good for newcomers
Summary
I would like Marker's CLI to have a small check if a newer version is available. If this is a case, a small note should be added, letting the user know that they can update Marker, if they'd like to.
I'm thinking of something simple like this:
This should just be an info and nothing more severe, as CIs should continue to work uninterrupted.
We can use Cargo's
search
command to check for the newest version:We just need to parse the output and compare it to our own version.
We would also want a CLI flag to disable this behavior. Maybe
--no-update-check
or something similar.The text was updated successfully, but these errors were encountered: