|
3 | 3 | ``` |
4 | 4 | A command-line utility for Dart development. |
5 | 5 |
|
6 | | -Usage: dart [vm-options] <command|dart-file> [arguments] |
| 6 | +Usage: dart <command|dart-file> [arguments] |
7 | 7 |
|
8 | 8 | Global options: |
9 | | --h, --help Print this usage information. |
10 | | --v, --verbose Show additional command output. |
11 | | - --version Print the Dart SDK version. |
12 | | - --enable-analytics Enable analytics. |
13 | | - --disable-analytics Disable analytics. |
| 9 | +-v, --verbose Show additional command output. |
| 10 | + --version Print the Dart SDK version. |
| 11 | + --enable-analytics Enable analytics. |
| 12 | + --disable-analytics Disable analytics. |
| 13 | + --suppress-analytics Disallow analytics for this `dart *` run without changing the analytics configuration. |
| 14 | +-h, --help Print this usage information. |
14 | 15 |
|
15 | 16 | Available commands: |
16 | | - analyze Analyze the project's Dart code. |
17 | | - compile Compile Dart to various formats. |
18 | | - create Create a new project. |
19 | | - format Idiomatically format Dart source code. |
20 | | - pub Work with packages. |
21 | | - run Run a Dart program. |
22 | | - test Run tests in this package. |
| 17 | + analyze Analyze Dart code in a directory. |
| 18 | + compile Compile Dart to various formats. |
| 19 | + create Create a new Dart project. |
| 20 | + devtools Open DevTools (optionally connecting to an existing application). |
| 21 | + doc Generate API documentation for Dart projects. |
| 22 | + fix Apply automated fixes to Dart source code. |
| 23 | + format Idiomatically format Dart source code. |
| 24 | + info Show diagnostic information about the installed tooling. |
| 25 | + pub Work with packages. |
| 26 | + run Run a Dart program. |
| 27 | + test Run tests for a project. |
23 | 28 |
|
24 | 29 | Run "dart help <command>" for more information about a command. |
25 | 30 | See https://dart.dev/tools/dart-tool for detailed documentation. |
|
0 commit comments