No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitattributes
.gitignore
LICENSE
README.md
azure-pipelines.yml
build.cmd

README.md

dotnet-nuget-gc

Build Status

This dotnet extension is designed to clean-up the NuGet cache. It's a (hopefully) temporary workaround for the missing cache-expiration policy. Code written by @dotmorten as outlined in his comment.

Installation

$ dotnet tool install dotnet-nuget-gc -g

Usage

usage: dotnet nuget-gc [options]

Options:
  -f, --force                Performs the actual clean-up. Default is to do a
                             dry-run and report the clean-up that would be
                             done.
  -m, --min-days=VALUE       Number of days a package must not be used in order
                             to be purged from the cache. Defaults to 30.
  -?, -h, --help             show this message and exit