-
Notifications
You must be signed in to change notification settings - Fork 255
Support nuget push scenarios in dotnet CLI
dotnet CLI doesn't yet have a push scenario--the only way to effect a nuget push from the command line is by using the nuget CLI.
Package authors
still amassing
nuget.exe push options are defined here: NuGet Push Command Options
The proposal is to insert a command into the dotnet CLI to target nuget, and push will be an option of that command (with the potential for other options). The dotnet CLI will route all arguments to the push command, ensuring behavior consistent with nuget.exe push. Examples of the new command line are:
dotnet nuget push foo.nupkg 4003d786-cc37-4004-bfdf-c4f3e8ef9b3a
dotnet nuget push foo.nupkg 4003d786-cc37-4004-bfdf-c4f3e8ef9b3a -s http://customsource/
dotnet nuget push foo.nupkg
dotnet nuget push foo.symbols.nupkg
dotnet nuget push foo.nupkg -Timeout 360
dotnet nuget push *.nupkg
Check out the proposals in the accepted
& proposed
folders on the repository, and active PRs for proposals being discussed today.