Skip to content

Commit ae2328f

Browse files
committed
resolve linting errors
1 parent 8f14788 commit ae2328f

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

docs/core/diagnostics/dotnet-counters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ There are three ways to download and use `dotnet-counters`:
2323
```
2424

2525
For example:
26+
2627
```dotnetcli
2728
dnx dotnet-counters monitor --process-id 1234
2829
```

docs/core/tools/dotnet-tool-exec.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,10 @@ When you run `dotnet tool exec`, the command:
3636
3. Invokes the tool with any provided arguments
3737
4. Returns the tool's exit code
3838

39-
The command interacts with local tool configurations seamlessly:
40-
- If a local tool manifest exists and contains the specified tool, it uses that version
41-
- Otherwise, it downloads the latest version or the version you specify
42-
43-
This command is ideal for:
44-
- Running tools without permanent installation
45-
- Trying out tools before deciding to install them
46-
- Running tools in CI/CD pipelines without setup steps
47-
- Using different versions of tools for different projects
48-
- Using the same mechanism across global and local tools
39+
`dotnet tool exec` works seamlessly with both global and local tools. If you have a local tool manifest available, it uses the manifest to determine which version of the tool to run.
4940

5041
This command also exists in two other forms for easier use
42+
5143
* `dotnet dnx` - a hidden alias for `dotnet tool exec` that is mostly used to give us a point to easily implement the
5244
* `dnx` - a shell script that invokes `dotnet dnx` from the SDK. This script is provided by the installer and is available on the PATH. It allows for very simple use of Tools directly via `dnx <toolname>`.
5345

docs/core/tools/local-tools-how-to-use.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,14 @@ Once installed as a local tool, you can invoke it in multiple ways:
103103
> When using dnx with a local tool manifest, it automatically uses the version specified in the manifest.
104104
105105

106-
2. Using `dotnet botsay` (recommended for local tools):
106+
2. Using `dotnet botsay`:
107+
107108
```dotnetcli
108109
dotnet botsay hello from the bot
109110
```
110111

111112
3. Using `dotnet tool run`
113+
112114
```dotnetcli
113115
dotnet tool run botsay hello from the bot
114116
```

0 commit comments

Comments
 (0)