Skip to content

The dart analyze CLI supports only one directory while the older dartanalyzer supported multiple ones #45352

Open
@stof

Description

@stof
  • Dart SDK Version (dart --version): 2.12.1
  • Whether you are using Windows, MacOSX, or Linux (if applicable): Linux (but probably applies to others)

The old dartanalyzer CLI supports passing multiple directories to analyze. dart analyze does not.
Is this an intentional change or something that was missed in the new CLI ?

I found this out when working on the dart-sass package. The CI setup still uses the dartanalyzer CLI due to that. Locally, I tried using the new one as dartanalyzer is not in the PATH by default when installing the ubuntu package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.dart-cli-analyzeIssues related to the 'dart analyze' tool

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions