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

Method Run

command/plugins_install.go:65–75  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

63}
64
65func (c *PluginsInstallCommand) Run(args []string) int {
66 ctx, cleanup := handleTermInterrupt(c.Ui)
67 defer cleanup()
68
69 cmdArgs, ret := c.ParseArgs(args)
70 if ret != 0 {
71 return ret
72 }
73
74 return c.RunContext(ctx, cmdArgs)
75}
76
77type PluginsInstallArgs struct {
78 MetaArgs

Callers 1

Calls 4

ParseArgsMethod · 0.95
RunContextMethod · 0.95
handleTermInterruptFunction · 0.85
cleanupFunction · 0.85

Tested by 1