2cd8fc1e97
(Disabled; comment in to enable.) The command calls out to the DAS using the bulk fix protocol to fix all bulk-fixable issues. Fixable diagnostics are captured in the `BulkFixProcessor.lintProducerMap`. Sample output: ``` [~/src/repos/dart/sdk/pkg/dartdev] (fix_cmd) $ dart bin/dartdev.dart fix *** The `fix` command is provisional and subject to change or removal in future releases. *** Computing fixes in dartdev... 5.0s Applying fixes to: lib/dummy2.dart lib/dummy.dart Done. ``` Change-Id: I71f82623a452cb747bfc13dba0bb764ec9b1a15b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156046 Reviewed-by: Jaime Wren <jwren@google.com> Reviewed-by: Devon Carew <devoncarew@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
Dart CLI tooling
A command-line utility for Dart development.
Usage: dart [<vm-flags>] <command|dart-file> [<arguments>]
Global options:
-h, --help Print this usage information.
-v, --verbose Show verbose output.
--version Print the Dart SDK version.
--enable-analytics Enable anonymous analytics.
--disable-analytics Disable anonymous analytics.
Available commands:
analyze Analyze the project's Dart code.
create Create a new project.
format Format Dart source code.
migrate Perform a null safety migration on a project or package.
pub Work with packages.
run Run a Dart file.
test Runs tests in this project.
Run "dart help <command>" for more information about a command.
Features and bugs
Please file feature requests and bugs in the Dart SDK issue tracker with label area-dart-cli.