2018-04-15 16:43:14 +01:00
|
|
|
# choco pack
|
|
|
|
|
|
|
|
> Package a NuGet specification into a nupkg file.
|
2019-03-18 11:30:00 +00:00
|
|
|
> Homepage: <https://chocolatey.org/docs/commands-pack>.
|
2018-04-15 16:43:14 +01:00
|
|
|
|
|
|
|
- Package a NuGet specification to a nupkg file:
|
|
|
|
|
|
|
|
`choco pack {{path/to/specification}}`
|
|
|
|
|
|
|
|
- Package a NuGet specification specifying the version of the resulting file:
|
|
|
|
|
|
|
|
`choco pack {{path/to/specification}} --version {{version}}`
|
|
|
|
|
|
|
|
- Package a NuGet specification to a specific directory:
|
|
|
|
|
|
|
|
`choco pack {{path/to/specification}} --output-directory {{path/to/output_directory}}`
|