CLI Reference
Generated from falcon's argument parser (v0.4.6). A fast Dart linter.
falcon [OPTIONS] <COMMAND>Global options
Accepted by every subcommand.
--log-format <FORMAT>Log output format
--verbosefalcon check
Lint one or more Dart files or directories
falcon check [OPTIONS] [PATHS]...<PATHS>positionalPaths to lint (defaults to the current directory)
--config <CONFIG>Path to falcon.json config
--format <FORMAT>Output format for diagnostics
--writeApply safe fixes to selected Dart files
--unsafeAlso apply fixes classified as unsafe (requires --write)
--dry-runPreview fixes as a unified diff without modifying files (requires --write)
--exclude <GLOB>Config-relative glob patterns to exclude (repeatable)
--max-errors <N>Limit the number of printed diagnostics without changing the exit status
--error-on-warningsFail on warnings as well as errors
--baseline <PATH>Suppress existing findings recorded in this baseline
--write-baseline <PATH>Record current findings (defaults to the configured baseline or project-root falcon-baseline.json)
--quietSuppress all diagnostic output
--no-errors-on-unmatchedDo not report missing paths or runs that process no files
--exit-code <N>Exit code to use when violations are found (default: 1)
falcon lsp
Start the LSP server (reads JSON-RPC 2.0 from stdin)
falcon lsp [OPTIONS]No options.
falcon migrate
Migrate to falcon.json. Converts a `dart_code_linter` / `pyramid_lint` `analysis_options.yaml`, or upgrades an existing falcon.json by rewriting legacy rule ids to their canonical form (auto-detected from the input)
falcon migrate [OPTIONS]--input <PATH>Path to the input: an `analysis_options.yaml` to convert, or an existing falcon.json to upgrade (default: ./`analysis_options.yaml`)
--writeWrite falcon.json instead of printing to stdout
--output <PATH>Output path when --write is set (default: ./falcon.json)
falcon version
Print version information and exit
falcon version [OPTIONS]No options.