Skip to content

Commit 2a43a5c

Browse files
committed
change "toolsay" to "dotnetsay"
Change in package name.
1 parent fa2db7c commit 2a43a5c

File tree

1 file changed

+4
-4
lines changed
  • docs/core/whats-new/dotnet-10

1 file changed

+4
-4
lines changed

docs/core/whats-new/dotnet-10/sdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ These new tools work much like normal published applications, so any publishing
3232
You can now use the `dotnet tool exec` command to execute a .NET tool without installing it globally or locally. This is especially valuable for CI/CD or ephemeral usage.
3333

3434
```bash
35-
dotnet tool exec --source ./artifacts/package/ toolsay "Hello, World!"
36-
Tool package toolsay@1.0.0 will be downloaded from source <source>.
35+
dotnet tool exec --source ./artifacts/package/ dotnetsay "Hello, World!"
36+
Tool package dotnetsay @1.0.0 will be downloaded from source <source>.
3737
Proceed? [y/n] (y): y
3838
_ _ _ _ __ __ _ _ _
3939
| | | | ___ | | | | ___ \ \ / / ___ _ __ | | __| | | |
@@ -43,7 +43,7 @@ Proceed? [y/n] (y): y
4343
|/
4444
```
4545
46-
This downloads and runs the specified tool package in one command. By default, users are prompted to confirm the download if the tool doesn't already exist locally. The latest version of the chosen tool package is used unless an explicit version is specified (for example, `toolsay@0.1.0`).
46+
This downloads and runs the specified tool package in one command. By default, users are prompted to confirm the download if the tool doesn't already exist locally. The latest version of the chosen tool package is used unless an explicit version is specified (for example, `dotnetsay @0.1.0`).
4747

4848
One-shot tool execution works seamlessly with local tool manifests. If you run a tool from a location containing a `.config/dotnet-tools.json` nearby, the version of the tool in that configuration will be used instead of the latest version available.
4949

@@ -52,7 +52,7 @@ One-shot tool execution works seamlessly with local tool manifests. If you run a
5252
The `dnx` script provides a streamlined way to execute tools. It forwards all arguments to the `dotnet` CLI for processing, making tool usage as simple as possible:
5353

5454
```bash
55-
dnx toolsay "Hello, World!"
55+
dnx dotnetsay "Hello, World!"
5656
```
5757

5858
The actual implementation of the `dnx` command is in the `dotnet` CLI itself, allowing its behavior to evolve over time.

0 commit comments

Comments
 (0)