Common dart subcommands: analyze, format, create and pub get. Global flags and other subcommands are left out.
dart analyzeStatic analysis of a Dart project.
directoryfatal_infosdirectoryno_fatal_warningspath · positional 0boolean--fatal-infosboolean--fatal-warningsboolean--no-fatal-warningsdart formatRewrites files in place unless an output mode is given.
targetsline_lengthfixtargetsset_exit_if_changedpath · positional 0 · repeatableinteger--line-length-l80120boolean--set-exit-if-changedboolean--fixdart createCreates a new Dart project from a template.
directorytemplatedirectorytemplatepath · positional 0string--template-tconsolepackageserver-shelfwebboolean--forceboolean--no-pubdart pub getResolves and downloads dependencies.
offlineprecompiledry_runboolean--offlineboolean--dry-run-nboolean--precompilefigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed dart against its version. A form that does not match your version is not offered.