Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some unnecessary old tool mentions #3988

Merged
merged 2 commits into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/dart-analyze.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
8 changes: 0 additions & 8 deletions src/tools/dart-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions src/tools/dart-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.]

Expand Down
11 changes: 4 additions & 7 deletions src/tools/dart-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ you might use the [`flutter` tool][] instead.
|-----------+-----------------------------------------+-----------------------------------|
| Command | Example of use | More information |
|-----------|-----------------------------------------|-----------------------------------|
| `analyze` | `dart analyze [<DIRECTORY|DART_FILE>]` | Analyzes the project's Dart source code.<br>Use instead of `dartanalyzer`.<br>[Learn more.][analyze] |
| `analyze` | `dart analyze [<DIRECTORY|DART_FILE>]` | Analyzes the project's Dart source code.<br>[Learn more.][analyze] |
| `compile` | `dart compile exe <DART_FILE>` | Compiles Dart to various formats.<br>Use instead of `dart2js` and `dart2native`.<br>[Learn more.][compile] |
| `create` | `dart create <DIRECTORY>` | Creates a new project.<br>Use instead of [`stagehand`][].<br>[Learn more.][create] |
| `create` | `dart create <DIRECTORY>` | Creates a new project.<br>[Learn more.][create] |
| `doc` | `dart doc <DIRECTORY>` | Generates API reference documentation.<br>Use instead of [`dartdoc`][].<br>[Learn more.][doc] |
| `fix` | `dart fix <DIRECTORY|DART_FILE>` | Applies automated fixes to Dart source code.<br>Use instead of [`dartfix`][].<br>[Learn more.][fix] |
| `format` | `dart format <DIRECTORY|DART_FILE>` | Formats Dart source code.<br>Use instead of `dartfmt`.<br>[Learn more.][format] |
| `fix` | `dart fix <DIRECTORY|DART_FILE>` | Applies automated fixes to Dart source code.<br>[Learn more.][fix] |
| `format` | `dart format <DIRECTORY|DART_FILE>` | Formats Dart source code.<br>[Learn more.][format] |
| `migrate` | `dart migrate` | Supports migration to [null safety][].<br>[Learn more.][migrate] |
| `pub` | `dart pub <PUB_COMMAND>` | Works with packages.<br>Use instead of `pub`.<br>[Learn more.][pub] |
| `run` | `dart run <DART_FILE>` | Runs a Dart program. <br>Use instead of the pre-existing Dart VM command (`dart` with no command).<br>[Learn more.][run] |
Expand All @@ -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