Files
uv/crates/uv-cli
Mikaël Barbero 499cc82b35 Add --outdated flag to uv tool list (#18318)
## Summary

Add a `--outdated` flag that queries PyPI for the latest version of each
installed tool and filters the output to only show tools with available
updates. Each outdated tool is displayed with its installed version and
a `[latest: X.Y.Z]` annotation.

The implementation reuses the existing `LatestClient` infrastructure
from `pip list --outdated`, fetching versions concurrently with progress
reporting. Up-to-date tools are omitted from the output. A
`--no-outdated` hidden flag is included for flag negation consistency.

Fixes #9309

## Test Plan

A new integration test has been created in
`crates/uv/tests/it/tool_list.rs`, and the feature has also been tested
locally.

Signed-off-by: Mikaël Barbero <mikael.barbero@eclipse-foundation.org>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 12:20:19 -04:00
..
2026-03-06 14:00:59 -06:00
2026-03-06 14:00:59 -06:00

uv-cli

This crate is an internal component of uv. The Rust API exposed here is unstable and will have frequent breaking changes.

This version (0.0.29) is a component of uv 0.10.9. The source can be found here.

See uv's crate versioning policy for details on versioning.