-
Notifications
You must be signed in to change notification settings - Fork 6k
change "toolsay" to "dotnetsay" #49309
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,8 +32,8 @@ These new tools work much like normal published applications, so any publishing | |
| 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. | ||
|
|
||
| ```bash | ||
| dotnet tool exec --source ./artifacts/package/ toolsay "Hello, World!" | ||
| Tool package toolsay@1.0.0 will be downloaded from source <source>. | ||
| dotnet tool exec --source ./artifacts/package/ dotnetsay "Hello, World!" | ||
| Tool package dotnetsay @1.0.0 will be downloaded from source <source>. | ||
| Proceed? [y/n] (y): y | ||
| _ _ _ _ __ __ _ _ _ | ||
| | | | | ___ | | | | ___ \ \ / / ___ _ __ | | __| | | | | ||
|
|
@@ -43,7 +43,7 @@ Proceed? [y/n] (y): y | |
| |/ | ||
| ``` | ||
|
|
||
| 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`). | ||
| 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`). | ||
|
||
|
|
||
| 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. | ||
|
|
||
|
|
@@ -52,7 +52,7 @@ One-shot tool execution works seamlessly with local tool manifests. If you run a | |
| 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: | ||
|
|
||
| ```bash | ||
| dnx toolsay "Hello, World!" | ||
| dnx dotnetsay "Hello, World!" | ||
|
||
| ``` | ||
|
|
||
| The actual implementation of the `dnx` command is in the `dotnet` CLI itself, allowing its behavior to evolve over time. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an extra space between 'dotnetsay' and '@1.0.0'. It should be '[email protected]' to match the format used elsewhere in the documentation.
Copilot uses AI. Check for mistakes.