go-nuget

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2019 License: GPL-3.0 Imports: 18 Imported by: 0

README

go-nuget

A partial implementation of the Nuget CLI tool, written in Go, for use in automated build processes and deployment of .nuspec & .nupkg files.

Writen in Go to be platform agnostic, built against the go-nuget-server project.

Build Status MIT license LinkedIn

Getting Started

git clone github/soloworks/go-nuget

go build -o nuget.exe

Implementation (Working ToDo)

spec
nuget spec [<packageID>] [options]
pack [ToDo]
nuget pack <nuspecPath | projectPath> [options] [-Properties ...]
push [ToDo]
nuget push <packagePath> [options]
Notes

Packages are PUT using the mime type multipart/form-data with a randomly generated boundary parameter, eg

multipart/form-data; boundary="88742a6c-280a-43a2-ad06-1b27ebb33d6e"

The multipart headers used are:

Content-Type: application/octet-stream
Content-Disposition: form-data; name=package; filename=package.nupkg; filename*=utf-8''package.nupkg

Resources

  • Microsoft nuget.exe CLI [Here]
  • Microsoft nuget.exe Download Here (v5.3.0 - Latest Recommended)

Acknowledgements

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
nuspec module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL