CmdID

CmdID / Commands

dart

Manage Dart projects. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Initialize a new Dart project in a directory of the same name

dart create project_nameIdentify

Run a Dart file

dart run path/to/file.dartIdentify

Download dependencies for the current project

dart pub getIdentify

Run unit tests for the current project

dart testIdentify

Update an outdated project's dependencies to support null-safety

dart pub upgrade --null-safetyIdentify

Compile a Dart file to a native binary

dart compile exe path/to/file.dartIdentify

Apply automated fixes to the current project

dart fix --applyIdentify