GlobalOptions top-level property

List<Option> GlobalOptions
final

Implementation

final List<Option> GlobalOptions = [

  Option(
    name: ['-v', '--verbose'],
    description: 'Enable verbose logging'
  ),
  Option(
    name: ['-q', '--quiet'],
    description: 'Print diagnostics, but nothing else'
  ),
  Option(
    name: ['-s', '--silent'],
    description: 'Disable all logging (but still exit with status code "1" upon detecting diagnostics)'
  ),
  Option(
    name: '--config',
    description: 'Path to the `pyproject.toml` or `ruff.toml` file to use for configuration',
    args: [
      Arg(
      name: 'config',
      isOptional: true,
      template: 'filepaths'
    )
    ]
  ),
  Option(
    name: '--isolated',
    description: 'Ignore all configuration files'
  ),
  Option(
    name: '--help',
    description: 'Print help'
  )
];