NuGetUtils 2.6.3-pre

This is a prerelease version of NuGetUtils.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NuGetUtils --version 2.6.3-pre
NuGet\Install-Package NuGetUtils -Version 2.6.3-pre
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NuGetUtils" Version="2.6.3-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGetUtils --version 2.6.3-pre
#r "nuget: NuGetUtils, 2.6.3-pre"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NuGetUtils as a Cake Addin
#addin nuget:?package=NuGetUtils&version=2.6.3-pre&prerelease

// Install NuGetUtils as a Cake Tool
#tool nuget:?package=NuGetUtils&version=2.6.3-pre&prerelease

NuGetUtils

Version Downloads

<img src="https://raw.githubusercontent.com/thomasgalliker/NuGetUtils/develop/Images/logo.png" height="100" alt="NuGetUtils" align="right"> NuGetUtils is a collection helpful commands in order to simplify nuget package administration.

Download and Install NuGetUtils

Command-Line Utility

NuGetUtils.CLI is available either as as .NET Core tool or as zipped executable.

dotnet tool install --global NuGetUtils.CLI

You can use the command-line utility on any system running .NET 5 or newer.

.NET Library

This utility is also available as .NET library: https://www.nuget.org/packages/NuGetUtils Use the following command to install NuGetUtils using NuGet package manager console:

PM> Install-Package NuGetUtils

You can use this library in any .NET project which is compatible to .NET Standard 2.0 and higher.

Using NuGetUtils.CLI

The following sections document basic use cases of NuGetUtils.CLI.

NuGetUtils.CLI
  Simplify nuget package administration.

Usage:
  NuGetUtils [options] [command]

Options:
  --silent        Silences command output on standard out. [default: False]
  --version       Show version information
  -?, -h, --help  Show help and usage information

Commands:
  unlist  Unlists NuGet packages
  search  Search for NuGet packages
  relist  Relist NuGet packages
Unlist NuGet Packages

The unlist command allows to bulk unlist a specified nuget package.

unlist
  Unlists NuGet packages

Usage:
  NuGetUtils [options] unlist

Options:
  --api-key <api-key> (REQUIRED)  A valid/unrevoked NuGet API key which has the appropriate privileges to run the
                                  command.
  --package <package> (REQUIRED)  The NuGet package idientifier.
  --pre                           Filter pre-release packages. If true, only pre-release packages are included. If
                                  false, only stable packages are included. If not specified, all (stable and
                                  pre-release) packages are included. [default: True]
  --skip-latest-pre               Excludes the latest pre-release package.If true, the latest pre-release version is
                                  excluded. If false, the latest pre-release version is included. If not specified, the
                                  latest pre-release version is included. [default: False]
  --skip-latest-stable            Excludes the latest stable package.If true, the latest stable version is excluded. If
                                  false, the latest stable version is included. If not specified, the latest stable
                                  version is included. [default: False]
  --confirm                       Confirms all user interactions. [default: False]
  --silent                        Silences command output on standard out. [default: False]
  -?, -h, --help                  Show help and usage information

Example: Unlist all pre-releases of NuGet package "EnumUtils".

NuGetUtils unlist --api-key 12345678 --package EnumUtils --pre --confirm
Relist NuGet Packages

The relist command allows to undelete previously unlisted/deleted nuget packages. Since NuGet's search API does not return any unlisted packages, we have to provide a list of comma-separated versions to be relisted.

relist
  Relist NuGet packages

Usage:
  NuGetUtils.CLI [options] relist

Options:
  --api-key <api-key> (REQUIRED)    A valid/unrevoked NuGet API key which has the appropriate privileges to run the
                                    command.
  --package <package> (REQUIRED)    The NuGet package idientifier.
  --versions <versions> (REQUIRED)  A comma-separated list of versions.Example: 1.0.0-pre.1,2.0.0,3.0.0-alpha.
  --confirm                         Confirms all user interactions. [default: False]
  --silent                          Silences command output on standard out. [default: False]
  -?, -h, --help                    Show help and usage information

Example: Relist two versions of NuGet package "EnumUtils".

NuGetUtils relist --api-key 12345678 --package EnumUtils --versions 1.0.0-pre,2.0.0

NuGet API Rate Limits https://docs.microsoft.com/en-us/nuget/api/rate-limits

Contribution

Contributors welcome! If you find a bug or you want to propose a new feature, feel free to do so by opening a new issue on github.com.

License

This project is Copyright © 2022 Thomas Galliker. Free for non-commercial use. For commercial use please contact the author.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.6.7-pre 144 11/20/2022
2.6.5 333 11/20/2022
2.6.3-pre 129 11/6/2022
2.6.2-pre 137 11/6/2022
2.5.3 361 8/29/2021
2.5.1-pre 196 8/29/2021
2.4.2-pre 221 8/28/2021
2.3.8-pre 203 8/28/2021
2.3.4 303 8/24/2021
2.3.2-pre 295 8/24/2021
2.2.0 391 8/24/2021

1.0.0
- Initial release