Support locals command in dotnet cli
Contributing
What's Being Worked On?
Check out the proposals in the accepted & proposed folders on the repository, and active PRs for proposals being discussed today.
Common Problems
Clone this wiki locally
Title
Adding locals command to dotnet cli.
Problem
Currently we do not have a cross platform implementation of nuget locals command.
Who is the customer?
nuget cli users who currently do not have a way to clear nuget cache using dotnet cli.
Solution
Add a dotnet locals command to the dotnet cli. I am currently looking into what behavior will be supported. For now assuming that all the behavior stays the same as before. I will update this doc as I investigate further.
Usage
dotnet nuget locals [options] dotnet nuget locals <all | http-cache | global-packages> <--clear | -c | --list | -l>
Locals Command Options -
| Clear | Clear the resources in the specified cache location |
| List | List the selected local resources or cache locations |
| Help | help |
| Verbosity | Display the amount of details in the output: normal, quiet, detailed. |
Example
dotnet nuget locals --clear all
dotnet nuget locals --list http-cache
dotnet nuget locals -l temp
dotnet nuget locals -c global-packages