diff --git a/crates/uv-cache/src/cli.rs b/crates/uv-cache/src/cli.rs index a21f7905cc47..1fd929da0514 100644 --- a/crates/uv-cache/src/cli.rs +++ b/crates/uv-cache/src/cli.rs @@ -7,6 +7,7 @@ use directories::ProjectDirs; use crate::Cache; #[derive(Parser, Debug, Clone)] +#[command(next_help_heading = "Cache options")] pub struct CacheArgs { /// Avoid reading from or writing to the cache, instead using a temporary directory for the /// duration of the operation. diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 717596e05c9b..45ff10614bea 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -52,14 +52,15 @@ fn extra_name_with_clap_error(arg: &str) -> Result { } #[derive(Parser)] -#[command(name = "uv", author, version = uv_version::version(), long_version = crate::version::version())] +#[command(name = "uv", author, long_version = crate::version::version())] #[command(about = "An extremely fast Python package manager.")] #[command(propagate_version = true)] #[command( after_help = "Use `uv help` for more details.", after_long_help = "", disable_help_flag = true, - disable_help_subcommand = true + disable_help_subcommand = true, + disable_version_flag = true )] #[allow(clippy::struct_excessive_bools)] pub struct Cli { @@ -67,28 +68,53 @@ pub struct Cli { pub command: Box, #[command(flatten)] - pub global_args: Box, + pub cache_args: Box, #[command(flatten)] - pub cache_args: Box, + pub global_args: Box, /// The path to a `uv.toml` file to use for configuration. - #[arg(global = true, long, env = "UV_CONFIG_FILE")] + #[arg( + global = true, + long, + env = "UV_CONFIG_FILE", + help_heading = "Global options" + )] pub config_file: Option, /// Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current directory, /// parent directories, or user configuration directories. - #[arg(global = true, long, env = "UV_NO_CONFIG", value_parser = clap::builder::BoolishValueParser::new())] + #[arg(global = true, long, env = "UV_NO_CONFIG", value_parser = clap::builder::BoolishValueParser::new(), help_heading = "Global options")] pub no_config: bool, /// Print help. - #[arg(global = true, short, long, action = clap::ArgAction::HelpShort)] + #[arg(global = true, short, long, action = clap::ArgAction::HelpShort, help_heading = "Global options")] help: Option, + + /// Print version. + // This enable it to show under Global options section. + #[arg(global = true, short = 'V', long, action = clap::ArgAction::Version, help_heading = "Global options")] + version: Option, } #[derive(Parser, Debug, Clone)] +#[command(next_help_heading = "Global options", next_display_order = 1000)] #[allow(clippy::struct_excessive_bools)] pub struct GlobalArgs { + /// Whether to prefer using Python installations that are already present on the system, or + /// those that are downloaded and installed by uv. + #[arg( + global = true, + long, + help_heading = "Python options", + display_order = 700 + )] + pub python_preference: Option, + + /// Whether to automatically download Python when required. + #[arg(global = true, long, help_heading = "Python options")] + pub python_fetch: Option, + /// Do not print any output. #[arg(global = true, long, short, conflicts_with = "verbose")] pub quiet: bool, @@ -137,15 +163,6 @@ pub struct GlobalArgs { #[arg(global = true, long, overrides_with("offline"), hide = true)] pub no_offline: bool, - /// Whether to prefer using Python installations that are already present on the system, or - /// those that are downloaded and installed by uv. - #[arg(global = true, long)] - pub python_preference: Option, - - /// Whether to automatically download Python when required. - #[arg(global = true, long)] - pub python_fetch: Option, - /// Whether to enable experimental, preview features. #[arg(global = true, long, hide = true, env = "UV_PREVIEW", value_parser = clap::builder::BoolishValueParser::new(), overrides_with("no_preview"))] pub preview: bool, diff --git a/crates/uv/tests/help.rs b/crates/uv/tests/help.rs index 86a44f913a39..5b455cd7b896 100644 --- a/crates/uv/tests/help.rs +++ b/crates/uv/tests/help.rs @@ -24,18 +24,12 @@ fn help() { version Display uv's version help Display documentation for a command - Options: - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -43,22 +37,24 @@ fn help() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version Use `uv help ` for more information on a specific command. @@ -87,18 +83,12 @@ fn help_flag() { version Display uv's version help Display documentation for a command - Options: - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -106,22 +96,24 @@ fn help_flag() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version Use `uv help` for more details. @@ -149,18 +141,12 @@ fn help_short_flag() { version Display uv's version help Display documentation for a command - Options: - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -168,22 +154,24 @@ fn help_short_flag() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version Use `uv help` for more details. @@ -211,7 +199,43 @@ fn help_subcommand() { dir Show the uv Python installation directory uninstall Uninstall Python versions - Options: + Cache options: + -n, --no-cache + Avoid reading from or writing to the cache, instead using a temporary directory for the + duration of the operation + + [env: UV_NO_CACHE=] + + --cache-dir [CACHE_DIR] + Path to the cache directory. + + Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` + on Linux, and `{FOLDERID_LocalAppData}/uv/cache` on Windows. + + [env: UV_CACHE_DIR=] + + Python options: + --python-preference + Whether to prefer using Python installations that are already present on the system, or + those that are downloaded and installed by uv + + Possible values: + - only-managed: Only use managed Python installations; never use system Python + installations + - managed: Prefer managed Python installations over system Python installations + - system: Prefer system Python installations over managed Python installations + - only-system: Only use system Python installations; never use managed Python + installations + + --python-fetch + Whether to automatically download Python when required + + Possible values: + - automatic: Automatically fetch managed Python installations when needed + - manual: Do not automatically fetch managed Python installations; require explicit + installation + + Global options: -q, --quiet Do not print any output @@ -248,43 +272,9 @@ fn help_subcommand() { --offline Disable network access, relying only on locally cached data and locally available files - --python-preference - Whether to prefer using Python installations that are already present on the system, or - those that are downloaded and installed by uv - - Possible values: - - only-managed: Only use managed Python installations; never use system Python - installations - - managed: Prefer managed Python installations over system Python installations - - system: Prefer system Python installations over managed Python installations - - only-system: Only use system Python installations; never use managed Python - installations - - --python-fetch - Whether to automatically download Python when required - - Possible values: - - automatic: Automatically fetch managed Python installations when needed - - manual: Do not automatically fetch managed Python installations; require explicit - installation - --no-progress Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation - - [env: UV_NO_CACHE=] - - --cache-dir [CACHE_DIR] - Path to the cache directory. - - Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` - on Linux, and `{FOLDERID_LocalAppData}/uv/cache` on Windows. - - [env: UV_CACHE_DIR=] - --config-file The path to a `uv.toml` file to use for configuration @@ -333,6 +323,43 @@ fn help_subsubcommand() { -r, --reinstall Reinstall the requested Python version, if it's already installed + Cache options: + -n, --no-cache + Avoid reading from or writing to the cache, instead using a temporary directory for the + duration of the operation + + [env: UV_NO_CACHE=] + + --cache-dir [CACHE_DIR] + Path to the cache directory. + + Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` + on Linux, and `{FOLDERID_LocalAppData}/uv/cache` on Windows. + + [env: UV_CACHE_DIR=] + + Python options: + --python-preference + Whether to prefer using Python installations that are already present on the system, or + those that are downloaded and installed by uv + + Possible values: + - only-managed: Only use managed Python installations; never use system Python + installations + - managed: Prefer managed Python installations over system Python installations + - system: Prefer system Python installations over managed Python installations + - only-system: Only use system Python installations; never use managed Python + installations + + --python-fetch + Whether to automatically download Python when required + + Possible values: + - automatic: Automatically fetch managed Python installations when needed + - manual: Do not automatically fetch managed Python installations; require explicit + installation + + Global options: -q, --quiet Do not print any output @@ -369,43 +396,9 @@ fn help_subsubcommand() { --offline Disable network access, relying only on locally cached data and locally available files - --python-preference - Whether to prefer using Python installations that are already present on the system, or - those that are downloaded and installed by uv - - Possible values: - - only-managed: Only use managed Python installations; never use system Python - installations - - managed: Prefer managed Python installations over system Python installations - - system: Prefer system Python installations over managed Python installations - - only-system: Only use system Python installations; never use managed Python - installations - - --python-fetch - Whether to automatically download Python when required - - Possible values: - - automatic: Automatically fetch managed Python installations when needed - - manual: Do not automatically fetch managed Python installations; require explicit - installation - --no-progress Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation - - [env: UV_NO_CACHE=] - - --cache-dir [CACHE_DIR] - Path to the cache directory. - - Defaults to `$HOME/Library/Caches/uv` on macOS, `$XDG_CACHE_HOME/uv` or `$HOME/.cache/uv` - on Linux, and `{FOLDERID_LocalAppData}/uv/cache` on Windows. - - [env: UV_CACHE_DIR=] - --config-file The path to a `uv.toml` file to use for configuration @@ -448,18 +441,12 @@ fn help_flag_subcommand() { dir Show the uv Python installation directory uninstall Uninstall Python versions - Options: - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -467,22 +454,24 @@ fn help_flag_subcommand() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version Use `uv help python` for more details. @@ -506,19 +495,14 @@ fn help_flag_subsubcommand() { [TARGETS]... The Python version(s) to install Options: - -r, --reinstall - Reinstall the requested Python version, if it's already installed - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + -r, --reinstall Reinstall the requested Python version, if it's already installed + + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -526,22 +510,24 @@ fn help_flag_subsubcommand() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version ----- stderr ----- "###); @@ -623,18 +609,12 @@ fn help_with_global_option() { version Display uv's version help Display documentation for a command - Options: - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -642,22 +622,24 @@ fn help_with_global_option() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version Use `uv help ` for more information on a specific command. @@ -722,18 +704,12 @@ fn help_with_no_pager() { version Display uv's version help Display documentation for a command - Options: - -q, --quiet - Do not print any output - -v, --verbose... - Use verbose output - --color - Control colors in output [default: auto] [possible values: auto, always, never] - --native-tls - Whether to load TLS certificates from the platform's native certificate store [env: - UV_NATIVE_TLS=] - --offline - Disable network access, relying only on locally cached data and locally available files + Cache options: + -n, --no-cache Avoid reading from or writing to the cache, instead using a temporary + directory for the duration of the operation [env: UV_NO_CACHE=] + --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] + + Python options: --python-preference Whether to prefer using Python installations that are already present on the system, or those that are downloaded and installed by uv [possible values: only-managed, managed, @@ -741,22 +717,24 @@ fn help_with_no_pager() { --python-fetch Whether to automatically download Python when required [possible values: automatic, manual] - --no-progress - Hides all progress outputs when set - -n, --no-cache - Avoid reading from or writing to the cache, instead using a temporary directory for the - duration of the operation [env: UV_NO_CACHE=] - --cache-dir [CACHE_DIR] - Path to the cache directory [env: UV_CACHE_DIR=] - --config-file - The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=] - --no-config - Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) in the current - directory, parent directories, or user configuration directories [env: UV_NO_CONFIG=] - -h, --help - Print help - -V, --version - Print version + + Global options: + -q, --quiet Do not print any output + -v, --verbose... Use verbose output + --color Control colors in output [default: auto] [possible values: auto, + always, never] + --native-tls Whether to load TLS certificates from the platform's native + certificate store [env: UV_NATIVE_TLS=] + --offline Disable network access, relying only on locally cached data and + locally available files + --no-progress Hides all progress outputs when set + --config-file The path to a `uv.toml` file to use for configuration [env: + UV_CONFIG_FILE=] + --no-config Avoid discovering configuration files (`pyproject.toml`, + `uv.toml`) in the current directory, parent directories, or user + configuration directories [env: UV_NO_CONFIG=] + -h, --help Print help + -V, --version Print version Use `uv help ` for more information on a specific command.