packer-cn/command/build/help.go

19 lines
714 B
Go
Raw Normal View History

2013-06-02 18:17:04 -04:00
package build
const helpText = `
Usage: packer build [options] TEMPLATE
2013-06-02 18:17:04 -04:00
2013-06-04 17:13:02 -04:00
Will execute multiple builds in parallel as defined in the template.
The various artifacts created by the template will be outputted.
Options:
-debug Debug mode enabled for builds
-force Force a build to continue if artifacts exist, deletes existing artifacts
-machine-readable Machine-readable output
2013-06-13 12:47:13 -04:00
-except=foo,bar,baz Build all builds other than these
2013-06-04 17:13:02 -04:00
-only=foo,bar,baz Only build the given builds by name
-var 'key=value' Variable for templates, can be used multiple times.
-var-file=path JSON file containing user variables.
2013-06-02 18:17:04 -04:00
`