mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 03:59:11 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/windows/choco-new
Normal file
29
tldr/windows/choco-new
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# choco new
|
||||
|
||||
> Generate new package specification files with Chocolatey.
|
||||
> More information: <https://chocolatey.org/docs/commands-new>.
|
||||
|
||||
- Create a new package skeleton:
|
||||
|
||||
`choco new {{package}}`
|
||||
|
||||
- Create a new package with a specific version:
|
||||
|
||||
`choco new {{package}} --version {{version}}`
|
||||
|
||||
- Create a new package with a specific maintainer name:
|
||||
|
||||
`choco new {{package}} --maintainer {{maintainer_name}}`
|
||||
|
||||
- Create a new package in a custom output directory:
|
||||
|
||||
`choco new {{package}} --output-directory {{path/to/directory}}`
|
||||
|
||||
- Create a new package with specific 32-bit and 64-bit installer URLs:
|
||||
|
||||
`choco new {{package}} url="{{url}}" url64="{{url}}"`
|
||||
Reference in New Issue
Block a user