(s, n *string)
| 15 | const version = "2.5.1" |
| 16 | |
| 17 | func socketFlags(s, n *string) []cli.Flag { |
| 18 | return []cli.Flag{ |
| 19 | cli.StringFlag{ |
| 20 | Name: "socket, s", |
| 21 | EnvVar: "OVERMIND_SOCKET", |
| 22 | Usage: "Path to overmind socket (in case of using unix socket) or address to bind (in other cases)", |
| 23 | Value: "./.overmind.sock", |
| 24 | Destination: s, |
| 25 | }, |
| 26 | cli.StringFlag{ |
| 27 | Name: "network, S", |
| 28 | EnvVar: "OVERMIND_NETWORK", |
| 29 | Usage: "Network to use for commands. Can be 'tcp', 'tcp4', 'tcp6' or 'unix'", |
| 30 | Value: "unix", |
| 31 | Destination: n, |
| 32 | }, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | func setupStartCmd() cli.Command { |
| 37 | c := start.Handler{} |
no outgoing calls
no test coverage detected
searching dependent graphs…