| 18 | var defaultColors = []int{2, 3, 4, 5, 6, 42, 130, 103, 129, 108} |
| 19 | |
| 20 | type 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 | |
| 35 | func newCommand(h *Handler) (*command, error) { |
| 36 | pf := parseProcfile(h.Procfile, h.PortBase, h.PortStep, h.Formation, h.FormationPortStep, h.StopSignals) |
nothing calls this directly
no outgoing calls
no test coverage detected