Skip to content

Fasjeit/dotnet-nuget-gc

 
 

Repository files navigation

dotnet-nuget-gc

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.

Original github project by @terrajobst.

Prune code by @StirlingLabs.

Installation

$ BuildAndInstall-win.ps1

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 90.
  -p, --prune                prune older versions of packages regardless of age
  -?, -h, --help             show this message and exit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.7%
  • Shell 4.2%
  • PowerShell 1.6%
  • Batchfile 1.5%