globalOptions top-level property
Implementation
final List<Option> globalOptions = [
Option(
name: ['-q', '--quiet'],
description: 'Do not print any output',
isPersistent: true),
Option(
name: ['-v', '--verbose'],
description: 'Use verbose output',
isPersistent: true),
Option(
name: '--color',
description: 'Control colors in output',
args: [
Arg(name: 'COLOR_CHOICE', suggestions: [
FigSuggestion(name: 'auto'),
FigSuggestion(name: 'always'),
FigSuggestion(name: 'never')
])
],
isPersistent: true),
Option(
name: '--native-tls',
description:
'Whether to load TLS certificates from the platform\'s native certificate store',
args: [Arg(name: 'BOOL')],
isPersistent: true),
Option(
name: '--offline',
description: 'Disable network access',
isPersistent: true),
Option(
name: '--allow-insecure-host',
description: 'Allow insecure connections to a host',
args: [Arg(name: 'ALLOW_INSECURE_HOST')],
isPersistent: true),
Option(
name: '--no-progress',
description: 'Hide all progress outputs',
isPersistent: true),
Option(
name: '--directory',
description: 'Change to the given directory prior to running the command',
args: [Arg(name: 'DIRECTORY')],
isPersistent: true),
Option(
name: '--project',
description: 'Run the command within the given project directory',
args: [Arg(name: 'PROJECT')],
isPersistent: true),
Option(
name: '--config-file',
description: 'The path to a `uv.toml` file to use for configuration',
args: [Arg(name: 'CONFIG_FILE')],
isPersistent: true),
Option(
name: '--no-config',
description:
'Avoid discovering configuration files (`pyproject.toml`, `uv.toml`)',
isPersistent: true),
Option(
name: ['-h', '--help'],
description: 'Display the concise help for this command',
isPersistent: true),
Option(
name: ['-V', '--version'],
description: 'Display the uv version',
isPersistent: true)
];