MCPcopy Create free account
hub / github.com/DarthSim/overmind / command

Struct command

start/command.go:20–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18var defaultColors = []int{2, 3, 4, 5, 6, 42, 130, 103, 129, 108}
19
20type command struct {
21 title string
22 timeout int
23 tmux *tmuxClient
24 output *multiOutput
25 cmdCenter *commandCenter
26 doneTrig chan bool
27 doneWg sync.WaitGroup
28 stopTrig chan os.Signal
29 infoTrig chan os.Signal
30 processes []*process
31 scriptDir string
32 daemonize bool
33}
34
35func newCommand(h *Handler) (*command, error) {
36 pf := parseProcfile(h.Procfile, h.PortBase, h.PortStep, h.Formation, h.FormationPortStep, h.StopSignals)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected