|
|
|
|
@ -145,7 +145,7 @@ type InspectArgs struct {
|
|
|
|
|
|
|
|
|
|
func (va *HCL2UpgradeArgs) AddFlagSets(flags *flag.FlagSet) {
|
|
|
|
|
flags.StringVar(&va.OutputFile, "output-file", "", "File where to put the hcl2 generated config. Defaults to JSON_TEMPLATE.pkr.hcl")
|
|
|
|
|
flags.BoolVar(&va.WithAnnotations, "with-annotations", false, "Add to the generated file helper annotations about the generated HCL2 blocks.")
|
|
|
|
|
flags.BoolVar(&va.WithAnnotations, "with-annotations", false, "Adds helper annotations with information about the generated HCL2 blocks.")
|
|
|
|
|
|
|
|
|
|
va.MetaArgs.AddFlagSets(flags)
|
|
|
|
|
}
|
|
|
|
|
|