Add uv build --no-build-logs to silence the build backend logs (#7675)

Extends https://github.com/astral-sh/uv/pull/7674

The build backend can be pretty verbose, it seems nice to be able to
turn that off?
This commit is contained in:
Zanie Blue 2024-09-26 18:39:47 -05:00 committed by GitHub
parent 3ce34035c8
commit ed1684a0e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 1 deletions

View file

@ -2029,6 +2029,13 @@ pub struct BuildArgs {
#[arg(long)]
pub wheel: bool,
#[arg(long, overrides_with("no_build_logs"), hide = true)]
pub build_logs: bool,
/// Hide logs from the build backend.
#[arg(long, overrides_with("build_logs"), hide = true)]
pub no_build_logs: bool,
/// Constrain build dependencies using the given requirements files when building
/// distributions.
///