nabijaczleweli / cargo-update

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

Is there a way to list only packages in need of update? #259

Closed jbr closed 4 months ago

jbr commented 4 months ago

Currently I use this ungainly nushell snippet to filter only the "Needs Update: Yes" columns: cargo install-update --list | tail -n+3 | from ssv | where "Needs update" =~ "Yes". Is there a way to do this with just arguments to cargo install-update? If not, would you be interested in a PR for cargo install-update --list --updates or cargo install-update --list-updates

nabijaczleweli commented 4 months ago

| grep Yes$ is the stable interface for this.

Dupe of #175 I think.