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 directoryChange 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, -hDisplay the concise help for this command
--keyring-provider keyring-providerAttempt to use keyring for authentication for remote requirements 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-urlThe URL of the upload endpoint.