Command Line Tools Included With Google Dart

Command Line Tools Included With Google Dart

Name

Description

dart

Enables you to execute a .dart file within the Dart Virtual Machine.

dart2js

Compiles dart source code to JavaScript.

dartanalyser

Analyses dart source code. This is used by many of the code editors to provide error and warning highlighting.

dartdevc

Compiles dart source code to JavaScript.

Similar to dart2js except that it supports incremental compilation, which lends itself to developers.

dartdoc

Generates Dart documentation from source code.  As the seminal book ‘Domain-Driven Design’ by Eric Evans states: ‘the code is the model and the model is the code’.

dartfmt

Formats Dart source code. This is used by many of the code editors to provide Dart formatting.

pub

This is Google’s Package Manager.