dart
A command-line utility for Dart development
Subcommands
Name | Description |
---|---|
analyze | Analyze Dart code in a directory |
compile | Compile Dart to various formats |
create | Create a new Dart project |
fix | Apply automated fixes to Dart source code |
format | Idiomatically format Dart source code |
migrate | Perform null safety migration on a project |
pub | Work with packages |
run | Run a Dart program |
test | Run tests for a project |
Options
Name | Description |
---|---|
-h, --help | Print this usage information |
-v, --verbose | Print verbose output |
--version | Current Dart version |
--enable-analytics | Enables analytics |
--disable-analytics | Disables analytics |