20 lines
783 B
Go
Raw Normal View History

2013-06-02 15:17:04 -07:00
package build
const helpText = `
Usage: packer build [options] TEMPLATE
2013-06-02 15:17:04 -07:00
2013-06-04 14:13:02 -07: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 09:47:13 -07:00
-except=foo,bar,baz Build all builds other than these
2013-06-04 14:13:02 -07:00
-only=foo,bar,baz Only build the given builds by name
-parallel=false Disable parallelization (on by default)
-var 'key=value' Variable for templates, can be used multiple times.
-var-file=path JSON file containing user variables.
2013-06-02 15:17:04 -07:00
`