Adds copy to the nuget command line (v1.4 last known working version)
Clone or download
ferventcoder Merge pull request #3 from davidalpert/nuget-2.0
Bumped the nuspec version to
Latest commit 63fc3ba Sep 16, 2012

NuGet Copy Extension

This adds copy to the nuget.exe command line.

nuget.exe copy packageId [-Version version] [-Source sourceFeed] [-Destination destinationPathOrFeed] [-ApiKey apiKey]

This will also copy all dependent packages.

#Install To use this package, please install NuGet Extend first:

nuget install /ExcludeVersion /OutputDir %LocalAppData%\NuGet\Commands AddConsoleExtension

Then to install nuget copy, run the following command:

nuget addExtension nuget.copy.extension

#Parameters ###PackageId Name of package in source feed to copy to destination feed.
###Version (optional) The version of the package to copy.
Defaults to the latest version available.
###Source (optional) Source (directory, share or remote url feed) the package comes from.
Defaults to official nuget feed.
###Destination (optional, highly recommended) Location (directory, share or remote url feed) that the package will be copied to.
Defaults to local directory.
###ApiKey (optional) The ApiKey if not already set (or just if you want to)
Defaults to the one you have set or throws an error if you do not have one set and do not pass this parameter.

#Examples nuget copy castle.windsor

nuget copy castle.windsor -destination

nuget copy castle.windsor -destination C:\files

nuget copy castle.windsor -destination \\companyshare\nuget