MCPcopy Create free account
hub / github.com/convox/rack / init

Function init

pkg/cli/exec.go:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func init() {
14 register("exec", "execute a command in a running process", Exec, stdcli.CommandOptions{
15 Flags: []stdcli.Flag{flagRack, flagApp},
16 Usage: "<pid> <command>",
17 Validate: stdcli.ArgsMin(2),
18 })
19}
20
21func Exec(rack sdk.Interface, c *stdcli.Context) error {
22 pid := c.Arg(0)

Callers

nothing calls this directly

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected