dotnet-installer/Documentation/manpages/sdk/dotnet-nuget-delete.1
2018-05-30 15:52:55 +00:00

137 lines
3.8 KiB
Groff

.\" Automatically generated by Pandoc 2.2.1
.\"
.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
.SS .NET Core 2.1
.IP
.nf
\f[C]
dotnet\ nuget\ delete\ [<PACKAGE_NAME>\ <PACKAGE_VERSION>]\ [\-\-force\-english\-output]\ [\-k|\-\-api\-key]\ [\-\-no\-service\-endpoint]
\ \ \ \ [\-\-non\-interactive]\ [\-s|\-\-source]
dotnet\ nuget\ delete\ [\-h|\-\-help]
\f[]
.fi
.SS .NET Core 2.0
.IP
.nf
\f[C]
dotnet\ nuget\ delete\ [<PACKAGE_NAME>\ <PACKAGE_VERSION>]\ [\-\-force\-english\-output]\ [\-k|\-\-api\-key]\ [\-\-non\-interactive]
\ \ \ \ [\-s|\-\-source]
dotnet\ nuget\ delete\ [\-h|\-\-help]
\f[]
.fi
.SS .NET Core 1.x
.IP
.nf
\f[C]
dotnet\ nuget\ delete\ [<PACKAGE_NAME>\ <PACKAGE_VERSION>]\ [\-\-force\-english\-output]\ [\-k|\-\-api\-key]\ [\-\-non\-interactive]
\ \ \ \ [\-s|\-\-source]
dotnet\ nuget\ delete\ [\-h|\-\-help]
\f[]
.fi
.PP
* * * * *
.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
Name/ID of the package to delete.
.PP
\f[C]PACKAGE_VERSION\f[]
.PP
Version of the package to delete.
.SH OPTIONS
.SS .NET Core 2.1
.PP
\f[C]\-\-force\-english\-output\f[]
.PP
Forces the application to run using an invariant, English\-based culture.
.PP
\f[C]\-h|\-\-help\f[]
.PP
Prints out a short help for the command.
.PP
\f[C]\-k|\-\-api\-key\ <API_KEY>\f[]
.PP
The API key for the server.
.PP
\f[C]\-\-no\-service\-endpoint\f[] Doesn't append \[lq]api/v2/packages\[rq] to the source URL.
.PP
\f[C]\-\-non\-interactive\f[]
.PP
Doesn't prompt for user input or confirmations.
.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, replace the host name (for example, \f[C]%hostname%/api/v3\f[]).
.SS .NET Core 2.0
.PP
\f[C]\-\-force\-english\-output\f[]
.PP
Forces the application to run using an invariant, English\-based culture.
.PP
\f[C]\-h|\-\-help\f[]
.PP
Prints out a short help for the command.
.PP
\f[C]\-k|\-\-api\-key\ <API_KEY>\f[]
.PP
The API key for the server.
.PP
\f[C]\-\-non\-interactive\f[]
.PP
Doesn't prompt for user input or confirmations.
.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, replace the host name (for example, \f[C]%hostname%/api/v3\f[]).
.SS .NET Core 1.x
.PP
\f[C]\-\-force\-english\-output\f[]
.PP
Forces the application to run using an invariant, English\-based culture.
.PP
\f[C]\-h|\-\-help\f[]
.PP
Prints out a short help for the command.
.PP
\f[C]\-k|\-\-api\-key\ <API_KEY>\f[]
.PP
The API key for the server.
.PP
\f[C]\-\-non\-interactive\f[]
.PP
Doesn't prompt for user input or confirmations.
.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, replace the host name (for example, \f[C]%hostname%/api/v3\f[]).
.PP
* * * * *
.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.