Skip to content

paul-kiar/nuget.copy.extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 http://nuget.mycompany.com/nuget

nuget copy castle.windsor -destination C:\files

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

About

Adds copy to the nuget command line (v1.4 last known working version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.4%
  • Batchfile 0.6%