diff --git a/docs/reference/cli.md b/docs/reference/cli.md index abf9a033a..1b8e947bd 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -7085,6 +7085,12 @@ uv publish [OPTIONS] [FILES]...

While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.

May also be set with the UV_CONFIG_FILE environment variable.

+
--directory directory

Change to the given directory prior to running the command.

+ +

Relative paths are resolved with the given directory as the base.

+ +

See --project to only change the project root directory.

+
--help, -h

Display the concise help for this command

--keyring-provider keyring-provider

Attempt to use keyring for authentication for remote requirements files.

@@ -7135,6 +7141,8 @@ uv publish [OPTIONS] [FILES]...

Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.

+

See --directory to change the working directory entirely.

+

This setting has no effect when used in the uv pip interface.

--publish-url publish-url

The URL of the upload endpoint.