nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Enable to choose whether to really update a package or not #179

Closed kyoheiu closed 2 years ago

kyoheiu commented 2 years ago

Hi, great app! I think this would be easier to use to add option to choose whether to really update a package or not, like pacman does.

example: 2022-05-05_05-25

If there are many packages to update, you know it takes so much time to build in rust... so sometimes it's better not to update some packages and keep them as is.

Maybe adding a question to enter the number to exclude from update is enough. How do you think?

nabijaczleweli commented 2 years ago

Have you considered passing -l, as per the manual:

-l, --list

Don't update any packages, just list them.

If PACKAGE is empty, act as if --all was specified.
kyoheiu commented 2 years ago

That's I wanted. Thanks.

Have you considered to make -l option as default? Like, cargo-instal update shows list and enalbe to choose which packages to update, as fool-proof (yes I'm fool).

nabijaczleweli commented 2 years ago

Too late now, it'd be an atrocious API break; you can always ^C.

kyoheiu commented 2 years ago

Ok, understood. Thank you.