MCPcopy Create free account
hub / github.com/docker/compose / main

Function main

docs/examples/provider.go:29–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27)
28
29func main() {
30 cmd := &cobra.Command{
31 Short: "Compose Provider Example",
32 Use: "demo",
33 }
34 cmd.AddCommand(composeCommand())
35 err := cmd.Execute()
36 if err != nil {
37 fmt.Fprintln(os.Stderr, err)
38 os.Exit(1)
39 }
40}
41
42type options struct {
43 db string

Callers

nothing calls this directly

Calls 1

composeCommandFunction · 0.85

Tested by

no test coverage detected