-
Notifications
You must be signed in to change notification settings - Fork 143
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
Alter use of the --verbose flag for fuelup check
#631
Conversation
I agree that we shouldn't need a verbose flag for When there is an update available, it could show just the plugins that need updating. What do you think? Currently it prints a download bar even when everything is up to date. On that note, |
Thanks Sophie. I like the idea of mimicking what |
9e9fdec
to
5b6f6ae
Compare
fuelup check
fuelup check
Thanks @sdankel this should be ready now. I added the -v flag back in so it prints if the component of fuelup is up to date, but the default behaviour is now similar to rustup and only shows if something is out of date. I also removed the download bar. We still need to download the toml file from git to check the versions but it's only a handful of kb so showing a download bar seems unnecessary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sdankel i've updated the description with a screenshot of what the default and verbose options produce. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
The output of
fuelup check --verbose
is what I would expectfuelup check
to output. Before this change,fuelup check
outputted a fraction of the installed components on the system.I feel like this just leads to confusion amongst users so it's been removed.I added the -v flag back in. The default behaviour is to only show fuelup or components need updating. The -v flag shows all components and prints that they are up to date. See screen shot below.
The rest of the diff is just cleaning up imports and doing clippy.
closes #553