Skip to content

Providing a net global tool to upload and download nuget packages

License

Notifications You must be signed in to change notification settings

aimenux/NuGetCli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET NuGet

NuGetCli

Providing a net global tool to upload/download nuget packages

In this repo, i m building a global tool that allows to upload/download nuget packages.

The tool is based on multiple sub commands :

  • Use sub command Upload to upload nuget packages
  • Use sub command Download to download nuget packages

To run the tool, type commands :

  • NuGetCli -h to show help
  • NuGetCli -s to show settings
  • NuGetCli Upload -u [url] to upload nuget packages from directory to nuget feed
  • NuGetCli Upload -u [url] -k [apikey] to upload nuget packages from directory to nuget feed
  • NuGetCli Upload -u [url] -d [directory] to upload nuget packages from directory to nuget feed
  • NuGetCli Download -f [file] to download nuget packages from nuget feed to directory
  • NuGetCli Download -f [file] -d [directory] to download nuget packages from nuget feed to directory
  • NuGetCli Download -n [name] -v [version] to download nuget package from nuget feed to directory
  • NuGetCli Download -n [name] -v [version] -d [directory] to download nuget package from nuget feed to directory

To install global tool from a local source path, type commands :

  • dotnet tool install -g --configfile .\nugets\local.config NuGetCli --version "*-*" --ignore-failed-sources

To install global tool from nuget source, type these command :

  • For stable version : dotnet tool install -g NuGetCli --ignore-failed-sources
  • For prerelease version : dotnet tool install -g NuGetCli --version "*-*" --ignore-failed-sources

To uninstall global tool, type these command :

  • dotnet tool uninstall -g NuGetCli

Tools : vs22, net 6.0/7.0/8.0, command-line, spectre-console

About

Providing a net global tool to upload and download nuget packages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages