dotnet-installer/Documentation/manpages/sdk/dotnet-nuget-delete.1
2018-03-30 11:48:04 -04:00

59 lines
1.7 KiB
Groff

.\" Automatically generated by Pandoc 2.1.3
.\"
.TH "dotnet nuget delete command \- .NET Core CLI" "1" "" "" ".NET Core"
.hy
.SH dotnet nuget delete
.PP
.SH NAME
.PP
\f[C]dotnet\ nuget\ delete\f[] \- Deletes or unlists a package from the server.
.SH SYNOPSIS
.PP
\f[C]dotnet\ nuget\ delete\ [<PACKAGE_NAME>\ <PACKAGE_VERSION>]\ [\-s|\-\-source]\ [\-\-non\-interactive]\ [\-k|\-\-api\-key]\ [\-\-force\-english\-output]\ [\-h|\-\-help]\f[]
.SH DESCRIPTION
.PP
The \f[C]dotnet\ nuget\ delete\f[] command deletes or unlists a package from the server.
For nuget.org, the action is to unlist the package.
.SS Arguments
.PP
\f[C]PACKAGE_NAME\f[]
.PP
Package to delete.
.PP
\f[C]PACKAGE_VERSION\f[]
.PP
Version of the package to delete.
.SH OPTIONS
.PP
\f[C]\-h|\-\-help\f[]
.PP
Prints out a short help for the command.
.PP
\f[C]\-s|\-\-source\ <SOURCE>\f[]
.PP
Specifies the server URL.
Supported URLs for nuget.org include \f[C]http://www.nuget.org\f[], \f[C]http://www.nuget.org/api/v3\f[], and \f[C]http://www.nuget.org/api/v2/package\f[].
For private feeds, substitute the host name (for example, \f[C]%hostname%/api/v3\f[]).
.PP
\f[C]\-\-non\-interactive\f[]
.PP
Doesn't prompt for user input or confirmations.
.PP
\f[C]\-k|\-\-api\-key\ <API_KEY>\f[]
.PP
The API key for the server.
.PP
\f[C]\-\-force\-english\-output\f[]
.PP
Forces command\-line output in English.
.SH EXAMPLES
.PP
Deletes version 1.0 of package \f[C]Microsoft.AspNetCore.Mvc\f[]:
.PP
\f[C]dotnet\ nuget\ delete\ Microsoft.AspNetCore.Mvc\ 1.0\f[]
.PP
Deletes version 1.0 of package \f[C]Microsoft.AspNetCore.Mvc\f[], not prompting user for credentials or other input:
.PP
\f[C]dotnet\ nuget\ delete\ Microsoft.AspNetCore.Mvc\ 1.0\ \-\-non\-interactive\f[]
.SH AUTHORS
karann\-msft.