(f *pflag.FlagSet, name string)
| 258 | } |
| 259 | |
| 260 | func normalizeRunFlags(f *pflag.FlagSet, name string) pflag.NormalizedName { |
| 261 | switch name { |
| 262 | case "volumes": |
| 263 | name = "volume" |
| 264 | case "labels": |
| 265 | name = "label" |
| 266 | case "no-TTY": |
| 267 | name = "no-tty" |
| 268 | } |
| 269 | return pflag.NormalizedName(name) |
| 270 | } |
| 271 | |
| 272 | func runRun(ctx context.Context, backend api.Compose, project *types.Project, options runOptions, createOpts createOptions, buildOpts buildOptions, dockerCli command.Cli) error { |
| 273 | project, err := options.apply(project) |
nothing calls this directly
no outgoing calls
no test coverage detected