()
| 88 | var stdioToStdout bool |
| 89 | |
| 90 | func init() { |
| 91 | // compose evaluates env file values for interpolation |
| 92 | // `raw` format allows to load env_file with the same parser used by docker run --env-file |
| 93 | dotenv.RegisterFormat("raw", rawEnv) |
| 94 | |
| 95 | if v, ok := os.LookupEnv("COMPOSE_STATUS_STDOUT"); ok { |
| 96 | stdioToStdout, _ = strconv.ParseBool(v) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | // Command defines a compose CLI command as a func with args |
| 101 | type Command func(context.Context, []string) error |
nothing calls this directly
no outgoing calls
no test coverage detected