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

Method AddFlagSets

command/execute.go:85–87  ·  view source on GitHub ↗
(flags *flag.FlagSet)

Source from the content-addressed store, hash-verified

83}
84
85func (ea *ExecuteArgs) AddFlagSets(flags *flag.FlagSet) {
86 flags.BoolVar(&ea.UseProtobuf, "protobuf", false, "Use protobuf for serialising data over the wire instead of gob")
87}
88
89func (c *ExecuteCommand) ParseArgs(args []string) (*ExecuteArgs, int) {
90 var cfg ExecuteArgs

Callers 1

ParseArgsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected