MCPcopy
hub / github.com/hashicorp/packer / AddFlagSets

Method AddFlagSets

command/cli.go:172–176  ·  view source on GitHub ↗
(flags *flag.FlagSet)

Source from the content-addressed store, hash-verified

170}
171
172func (fa *FixArgs) AddFlagSets(flags *flag.FlagSet) {
173 flags.BoolVar(&fa.Validate, "validate", true, "")
174
175 fa.MetaArgs.AddFlagSets(flags)
176}
177
178// FixArgs represents a parsed cli line for a `packer fix`
179type FixArgs struct {

Callers 9

ParseArgsMethod · 0.95
ParseArgsMethod · 0.45
AddFlagSetsMethod · 0.45
AddFlagSetsMethod · 0.45
AddFlagSetsMethod · 0.45
AddFlagSetsMethod · 0.45
AddFlagSetsMethod · 0.45
AddFlagSetsMethod · 0.45
ParseArgsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected