Skip to content

Commit 570b678

Browse files
authored
Add missing plugins-cache option to dotnet nuget locals documentation (#47582)
1 parent 316c0c3 commit 570b678

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

docs/core/tools/dotnet-nuget-locals.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ The `dotnet nuget locals` command clears or lists local NuGet resources in the h
3030

3131
The cache location to list or clear. It accepts one of the following values:
3232

33-
* `all` - Indicates that the specified operation is applied to all cache types: http-request cache, global packages cache, and the temporary cache.
33+
* `all` - Indicates that the specified operation is applied to all cache types: http-request cache, global packages cache, temporary cache, and plugins cache.
3434
* `http-cache` - Indicates that the specified operation is applied only to the http-request cache. The other cache locations aren't affected.
3535
* `global-packages` - Indicates that the specified operation is applied only to the global packages cache. The other cache locations aren't affected.
3636
* `temp` - Indicates that the specified operation is applied only to the temporary cache. The other cache locations aren't affected.
37+
* `plugins-cache` - Indicates that the specified operation is applied only to the plugins cache. The other cache locations aren't affected.
3738

3839
## Options
3940

@@ -53,7 +54,7 @@ The `dotnet nuget locals` command clears or lists local NuGet resources in the h
5354

5455
## Examples
5556

56-
- Displays the paths of all the local cache directories (http-cache directory, global-packages cache directory, and temporary cache directory):
57+
- Displays the paths of all the local cache directories (http-cache directory, global-packages cache directory, temporary cache directory, and plugins cache directory):
5758

5859
```dotnetcli
5960
dotnet nuget locals all -l
@@ -65,7 +66,13 @@ The `dotnet nuget locals` command clears or lists local NuGet resources in the h
6566
dotnet nuget locals http-cache --list
6667
```
6768

68-
- Clears all files from all local cache directories (http-cache directory, global-packages cache directory, and temporary cache directory):
69+
- Displays the path for the local plugins cache directory:
70+
71+
```dotnetcli
72+
dotnet nuget locals plugins-cache --list
73+
```
74+
75+
- Clears all files from all local cache directories (http-cache directory, global-packages cache directory, temporary cache directory, and plugins cache directory):
6976

7077
```dotnetcli
7178
dotnet nuget locals all --clear
@@ -83,6 +90,12 @@ The `dotnet nuget locals` command clears or lists local NuGet resources in the h
8390
dotnet nuget locals temp -c
8491
```
8592

93+
- Clears all files in local plugins cache directory:
94+
95+
```dotnetcli
96+
dotnet nuget locals plugins-cache -c
97+
```
98+
8699
## Troubleshooting
87100

88101
For information on common problems and errors while using the `dotnet nuget locals` command, see [Managing the NuGet cache](/nuget/consume-packages/managing-the-nuget-cache).

0 commit comments

Comments
 (0)