{"modulePath":"github.com/stackpointcloud/packer","version":"v0.7.5","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package command\n\n## Functions\n\n```go\nfunc BuildOptionFlags(fs *flag.FlagSet, f *BuildOptions)\n```\nBuildOptionFlags sets the proper command line flags needed for build options.\n\n## Types\n\n```go\ntype AppendSliceValue []string\n```\nAppendSliceValue implements the flag.Value interface and allows multiple calls to the same variable to append a list.\n\n```go\nfunc (s *AppendSliceValue) Set(value string) error\n```\n\n```go\nfunc (s *AppendSliceValue) String() string\n```\n\n```go\ntype BuildOptions struct {\n\tUserVarFiles []string\n\tUserVars     map[string]string\n\tExcept       []string\n\tOnly         []string\n}\n```\nBuildOptions is a set of options related to builds that can be set from the command line.\n\n```go\nfunc (f *BuildOptions) AllUserVars() (map[string]string, error)\n```\nAllUserVars returns the user variables, compiled from both the file paths and the vars on the command line.\n\n```go\nfunc (f *BuildOptions) Builds(t *packer.Template, cf *packer.ComponentFinder) ([]packer.Build, error)\n```\nBuilds returns the builds out of the given template that pass the configured options.\n\n```go\nfunc (f *BuildOptions) Validate() error\n```\nValidate validates the options\n\n```go\ntype SliceValue []string\n```\nSliceValue implements the flag.Value interface and allows a list of strings to be given on the command line and properly parsed into a slice of strings internally.\n\n```go\nfunc (s *SliceValue) Set(value string) error\n```\n\n```go\nfunc (s *SliceValue) String() string\n```\n\n","path":"github.com/stackpointcloud/packer/common/command","name":"command","synopsis":"","isRedistributable":true}
