Add dotnet-tool manpages and update others
This commit is contained in:
parent
de407deff0
commit
5f93685491
29 changed files with 1895 additions and 215 deletions
|
|
@ -1,4 +1,4 @@
|
|||
.\" Automatically generated by Pandoc 2.1.3
|
||||
.\" Automatically generated by Pandoc 2.2.1
|
||||
.\"
|
||||
.TH "dotnet nuget push command \- .NET Core CLI" "1" "" "" ".NET Core"
|
||||
.hy
|
||||
|
|
@ -8,8 +8,35 @@
|
|||
.PP
|
||||
\f[C]dotnet\ nuget\ push\f[] \- Pushes a package to the server and publishes it.
|
||||
.SH SYNOPSIS
|
||||
.SS .NET Core 2.1
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dotnet\ nuget\ push\ [<ROOT>]\ [\-d|\-\-disable\-buffering]\ [\-\-force\-english\-output]\ [\-k|\-\-api\-key]\ [\-n|\-\-no\-symbols]
|
||||
\ \ \ \ [\-\-no\-service\-endpoint]\ [\-s|\-\-source]\ [\-sk|\-\-symbol\-api\-key]\ [\-ss|\-\-symbol\-source]\ [\-t|\-\-timeout]
|
||||
dotnet\ nuget\ push\ [\-h|\-\-help]
|
||||
\f[]
|
||||
.fi
|
||||
.SS .NET Core 2.0
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dotnet\ nuget\ push\ [<ROOT>]\ [\-d|\-\-disable\-buffering]\ [\-\-force\-english\-output]\ [\-k|\-\-api\-key]\ [\-n|\-\-no\-symbols]
|
||||
\ \ \ \ [\-s|\-\-source]\ [\-sk|\-\-symbol\-api\-key]\ [\-ss|\-\-symbol\-source]\ [\-t|\-\-timeout]
|
||||
dotnet\ nuget\ push\ [\-h|\-\-help]
|
||||
\f[]
|
||||
.fi
|
||||
.SS .NET Core 1.x
|
||||
.IP
|
||||
.nf
|
||||
\f[C]
|
||||
dotnet\ nuget\ push\ [<ROOT>]\ [\-d|\-\-disable\-buffering]\ [\-\-force\-english\-output]\ [\-k|\-\-api\-key]\ [\-n|\-\-no\-symbols]
|
||||
\ \ \ \ [\-s|\-\-source]\ [\-sk|\-\-symbol\-api\-key]\ [\-ss|\-\-symbol\-source]\ [\-t|\-\-timeout]
|
||||
dotnet\ nuget\ push\ [\-h|\-\-help]
|
||||
\f[]
|
||||
.fi
|
||||
.PP
|
||||
\f[C]dotnet\ nuget\ push\ [<ROOT>]\ [\-s|\-\-source]\ [\-ss|\-\-symbol\-source]\ [\-t|\-\-timeout]\ [\-k|\-\-api\-key]\ [\-sk|\-\-symbol\-api\-key]\ [\-d|\-\-disable\-buffering]\ [\-n|\-\-no\-symbols]\ [\-\-force\-english\-output]\ [\-h|\-\-help]\f[]
|
||||
* * * * *
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
The \f[C]dotnet\ nuget\ push\f[] command pushes a package to the server and publishes it.
|
||||
|
|
@ -22,17 +49,122 @@ NuGet's default configuration is obtained by loading \f[I]%AppData%.config\f[] (
|
|||
.PP
|
||||
Specifies the file path to the package to be pushed.
|
||||
.SH OPTIONS
|
||||
.SS .NET Core 2.1
|
||||
.PP
|
||||
\f[C]\-d|\-\-disable\-buffering\f[]
|
||||
.PP
|
||||
Disables buffering when pushing to an HTTP(S) server to reduce memory usage.
|
||||
.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]\-n|\-\-no\-symbols\f[]
|
||||
.PP
|
||||
Doesn't push symbols (even if present).
|
||||
.PP
|
||||
\f[C]\-\-no\-service\-endpoint\f[]
|
||||
.PP
|
||||
Doesn't append \[lq]api/v2/packages\[rq] to the source URL.
|
||||
.PP
|
||||
\f[C]\-s|\-\-source\ <SOURCE>\f[]
|
||||
.PP
|
||||
Specifies the server URL.
|
||||
This option is required unless \f[C]DefaultPushSource\f[] config value is set in the NuGet config file.
|
||||
.PP
|
||||
\f[C]\-\-symbol\-source\ <SOURCE>\f[]
|
||||
\f[C]\-sk|\-\-symbol\-api\-key\ <API_KEY>\f[]
|
||||
.PP
|
||||
The API key for the symbol server.
|
||||
.PP
|
||||
\f[C]\-ss|\-\-symbol\-source\ <SOURCE>\f[]
|
||||
.PP
|
||||
Specifies the symbol server URL.
|
||||
.PP
|
||||
\f[C]\-t|\-\-timeout\ <TIMEOUT>\f[]
|
||||
.PP
|
||||
Specifies the timeout for pushing to a server in seconds.
|
||||
Defaults to 300 seconds (5 minutes).
|
||||
Specifying 0 (zero seconds) applies the default value.
|
||||
.SS .NET Core 2.0
|
||||
.PP
|
||||
\f[C]\-d|\-\-disable\-buffering\f[]
|
||||
.PP
|
||||
Disables buffering when pushing to an HTTP(S) server to reduce memory usage.
|
||||
.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]\-n|\-\-no\-symbols\f[]
|
||||
.PP
|
||||
Doesn't push symbols (even if present).
|
||||
.PP
|
||||
\f[C]\-s|\-\-source\ <SOURCE>\f[]
|
||||
.PP
|
||||
Specifies the server URL.
|
||||
This option is required unless \f[C]DefaultPushSource\f[] config value is set in the NuGet config file.
|
||||
.PP
|
||||
\f[C]\-sk|\-\-symbol\-api\-key\ <API_KEY>\f[]
|
||||
.PP
|
||||
The API key for the symbol server.
|
||||
.PP
|
||||
\f[C]\-ss|\-\-symbol\-source\ <SOURCE>\f[]
|
||||
.PP
|
||||
Specifies the symbol server URL.
|
||||
.PP
|
||||
\f[C]\-t|\-\-timeout\ <TIMEOUT>\f[]
|
||||
.PP
|
||||
Specifies the timeout for pushing to a server in seconds.
|
||||
Defaults to 300 seconds (5 minutes).
|
||||
Specifying 0 (zero seconds) applies the default value.
|
||||
.SS .NET Core 1.x
|
||||
.PP
|
||||
\f[C]\-d|\-\-disable\-buffering\f[]
|
||||
.PP
|
||||
Disables buffering when pushing to an HTTP(S) server to reduce memory usage.
|
||||
.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]\-n|\-\-no\-symbols\f[]
|
||||
.PP
|
||||
Doesn't push symbols (even if present).
|
||||
.PP
|
||||
\f[C]\-s|\-\-source\ <SOURCE>\f[]
|
||||
.PP
|
||||
Specifies the server URL.
|
||||
This option is required unless \f[C]DefaultPushSource\f[] config value is set in the NuGet config file.
|
||||
.PP
|
||||
\f[C]\-sk|\-\-symbol\-api\-key\ <API_KEY>\f[]
|
||||
.PP
|
||||
The API key for the symbol server.
|
||||
.PP
|
||||
\f[C]\-ss|\-\-symbol\-source\ <SOURCE>\f[]
|
||||
.PP
|
||||
Specifies the symbol server URL.
|
||||
.PP
|
||||
|
|
@ -42,32 +174,14 @@ Specifies the timeout for pushing to a server in seconds.
|
|||
Defaults to 300 seconds (5 minutes).
|
||||
Specifying 0 (zero seconds) applies the default value.
|
||||
.PP
|
||||
\f[C]\-k|\-\-api\-key\ <API_KEY>\f[]
|
||||
.PP
|
||||
The API key for the server.
|
||||
.PP
|
||||
\f[C]\-\-symbol\-api\-key\ <API_KEY>\f[]
|
||||
.PP
|
||||
The API key for the symbol server.
|
||||
.PP
|
||||
\f[C]\-d|\-\-disable\-buffering\f[]
|
||||
.PP
|
||||
Disables buffering when pushing to an HTTP(S) server to decrease memory usage.
|
||||
.PP
|
||||
\f[C]\-n|\-\-no\-symbols\f[]
|
||||
.PP
|
||||
Doesn't push symbols (even if present).
|
||||
.PP
|
||||
\f[C]\-\-force\-english\-output\f[]
|
||||
.PP
|
||||
Forces all logged output in English.
|
||||
* * * * *
|
||||
.SH EXAMPLES
|
||||
.PP
|
||||
Pushes \f[I]foo.nupkg\f[] to the default push source, providing an API key:
|
||||
Pushes \f[I]foo.nupkg\f[] to the default push source, specifying an API key:
|
||||
.PP
|
||||
\f[C]dotnet\ nuget\ push\ foo.nupkg\ \-k\ 4003d786\-cc37\-4004\-bfdf\-c4f3e8ef9b3a\f[]
|
||||
.PP
|
||||
Push \f[I]foo.nupkg\f[] to the custom push source \f[C]http://customsource\f[], providing an API key:
|
||||
Push \f[I]foo.nupkg\f[] to the custom push source \f[C]http://customsource\f[], specifying an API key:
|
||||
.PP
|
||||
\f[C]dotnet\ nuget\ push\ foo.nupkg\ \-k\ 4003d786\-cc37\-4004\-bfdf\-c4f3e8ef9b3a\ \-s\ http://customsource/\f[]
|
||||
.PP
|
||||
|
|
@ -79,7 +193,7 @@ Pushes \f[I]foo.symbols.nupkg\f[] to the default symbols source:
|
|||
.PP
|
||||
\f[C]dotnet\ nuget\ push\ foo.symbols.nupkg\f[]
|
||||
.PP
|
||||
Pushes \f[I]foo.nupkg\f[] to the default push source, specifying a 360 second timeout:
|
||||
Pushes \f[I]foo.nupkg\f[] to the default push source, specifying a 360\-second timeout:
|
||||
.PP
|
||||
\f[C]dotnet\ nuget\ push\ foo.nupkg\ \-\-timeout\ 360\f[]
|
||||
.PP
|
||||
|
|
|
|||
Reference in a new issue