From f4444624cbaf14ab2060d1e84dfa16d627405e8e Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Sat, 16 Apr 2022 15:24:51 -0500 Subject: [PATCH] Remove some unnecessary old tool mentions --- src/tools/dart-analyze.md | 2 +- src/tools/dart-create.md | 8 -------- src/tools/dart-format.md | 2 -- src/tools/dart-tool.md | 11 ++++------- 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/src/tools/dart-analyze.md b/src/tools/dart-analyze.md index 42bd878013..67f2e3b459 100644 --- a/src/tools/dart-analyze.md +++ b/src/tools/dart-analyze.md @@ -4,7 +4,7 @@ description: Command-line tool for static analysis toc: false --- -The `dart analyze` command (previously called `dartanalyzer`) +The `dart analyze` command performs the same [static analysis][] that you get when you use an IDE or editor that has Dart support. diff --git a/src/tools/dart-create.md b/src/tools/dart-create.md index 609122b2fd..2ad5a2bb09 100644 --- a/src/tools/dart-create.md +++ b/src/tools/dart-create.md @@ -56,14 +56,6 @@ For further information on command-line options, use the `--help` flag: $ dart create --help ``` -{{site.alert.version-note}} - The `dart create` command was introduced in Dart 2.10. - Its functionality was previously provided by - a command in the now-discontinued [`stagehand` package][]. -{{site.alert.end}} - -[`stagehand` package]: {{site.pub-pkg}}/stagehand - {% comment %} ``` Create a new Dart project. diff --git a/src/tools/dart-format.md b/src/tools/dart-format.md index 26f18c09a1..f95805e732 100644 --- a/src/tools/dart-format.md +++ b/src/tools/dart-format.md @@ -60,8 +60,6 @@ use the `dart help` command or see the documentation for the $ dart help format ``` -The `dart format` command replaces `dartfmt`. - {% comment %} [PENDING: Add info on commonly used options.] diff --git a/src/tools/dart-tool.md b/src/tools/dart-tool.md index 7847c5e1cc..effb866030 100644 --- a/src/tools/dart-tool.md +++ b/src/tools/dart-tool.md @@ -38,12 +38,12 @@ you might use the [`flutter` tool][] instead. |-----------+-----------------------------------------+-----------------------------------| | Command | Example of use | More information | |-----------|-----------------------------------------|-----------------------------------| -| `analyze` | `dart analyze []` | Analyzes the project's Dart source code.
Use instead of `dartanalyzer`.
[Learn more.][analyze] | +| `analyze` | `dart analyze []` | Analyzes the project's Dart source code.
[Learn more.][analyze] | | `compile` | `dart compile exe ` | Compiles Dart to various formats.
Use instead of `dart2js` and `dart2native`.
[Learn more.][compile] | -| `create` | `dart create ` | Creates a new project.
Use instead of [`stagehand`][].
[Learn more.][create] | +| `create` | `dart create ` | Creates a new project.
[Learn more.][create] | | `doc` | `dart doc ` | Generates API reference documentation.
Use instead of [`dartdoc`][].
[Learn more.][doc] | -| `fix` | `dart fix ` | Applies automated fixes to Dart source code.
Use instead of [`dartfix`][].
[Learn more.][fix] | -| `format` | `dart format ` | Formats Dart source code.
Use instead of `dartfmt`.
[Learn more.][format] | +| `fix` | `dart fix ` | Applies automated fixes to Dart source code.
[Learn more.][fix] | +| `format` | `dart format ` | Formats Dart source code.
[Learn more.][format] | | `migrate` | `dart migrate` | Supports migration to [null safety][].
[Learn more.][migrate] | | `pub` | `dart pub ` | Works with packages.
Use instead of `pub`.
[Learn more.][pub] | | `run` | `dart run ` | Runs a Dart program.
Use instead of the pre-existing Dart VM command (`dart` with no command).
[Learn more.][run] | @@ -67,8 +67,5 @@ or follow the links in the **More information** column. You can also get details on `pub` commands — for example, `dart help pub outdated`. -[`dartaotruntime`]: /tools/dartaotruntime [`dartdoc`]: {{site.pub-pkg}}/dartdoc -[`dartfix`]: {{site.pub-pkg}}/dartfix [null safety]: /null-safety -[`stagehand`]: {{site.pub-pkg}}/stagehand