From a94f7d0847ebd32232f3d684b31d32bdca864a94 Mon Sep 17 00:00:00 2001 From: konsti Date: Wed, 3 Sep 2025 16:16:16 +0200 Subject: [PATCH] Clarify that `uv auth` commands take a URL (#15664) From the previous description I tried `uv auth token pyx`, which didn't work. --------- Co-authored-by: Zanie Blue --- crates/uv-cli/src/lib.rs | 8 ++++---- docs/reference/cli.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 5e878405d..d0727d3d9 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -5538,7 +5538,7 @@ pub struct PythonPinArgs { #[derive(Args)] pub struct AuthLogoutArgs { - /// The service to logout of. + /// The domain or URL of the service to logout from. pub service: Service, /// The username to logout. @@ -5559,7 +5559,7 @@ pub struct AuthLogoutArgs { #[derive(Args)] pub struct AuthLoginArgs { - /// The service to log into. + /// The domain or URL of the service to log into. pub service: Service, /// The username to use for the service. @@ -5594,7 +5594,7 @@ pub struct AuthLoginArgs { #[derive(Args)] pub struct AuthTokenArgs { - /// The service to lookup. + /// The domain or URL of the service to lookup. pub service: Service, /// The username to lookup. @@ -5612,7 +5612,7 @@ pub struct AuthTokenArgs { #[derive(Args)] pub struct AuthDirArgs { - /// The service to lookup. + /// The domain or URL of the service to lookup. pub service: Option, } diff --git a/docs/reference/cli.md b/docs/reference/cli.md index ec49a9ae0..27aa00f8c 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -64,7 +64,7 @@ uv auth login [OPTIONS]

Arguments

-
SERVICE

The service to log into

+
SERVICE

The domain or URL of the service to log into

Options

@@ -139,7 +139,7 @@ uv auth logout [OPTIONS]

Arguments

-
SERVICE

The service to logout of

+
SERVICE

The domain or URL of the service to logout from

Options

@@ -209,7 +209,7 @@ uv auth token [OPTIONS]

Arguments

-
SERVICE

The service to lookup

+
SERVICE

The domain or URL of the service to lookup

Options

@@ -284,7 +284,7 @@ uv auth dir [OPTIONS] [SERVICE]

Arguments

-
SERVICE

The service to lookup

+
SERVICE

The domain or URL of the service to lookup

Options