Support locals command in dotnet cli

Ankit Mishra edited this page Aug 17, 2016 · 3 revisions

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

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.