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

Method Run

command/execute.go:107–114  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

105}
106
107func (c *ExecuteCommand) Run(args []string) int {
108 cfg, ret := c.ParseArgs(args)
109 if ret != 0 {
110 return ret
111 }
112
113 return c.RunContext(cfg)
114}
115
116func (c *ExecuteCommand) RunContext(args *ExecuteArgs) int {
117 // Plugin will match something like "packer-builder-amazon-ebs"

Callers

nothing calls this directly

Calls 2

ParseArgsMethod · 0.95
RunContextMethod · 0.95

Tested by

no test coverage detected