MCPcopy
hub / github.com/docker/compose / alphaCommand

Function alphaCommand

cmd/compose/alpha.go:22–37  ·  view source on GitHub ↗

alphaCommand groups all experimental subcommands

(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)

Source from the content-addressed store, hash-verified

20
21// alphaCommand groups all experimental subcommands
22func alphaCommand(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions) *cobra.Command {
23 cmd := &cobra.Command{
24 Short: "Experimental commands",
25 Use: "alpha [COMMAND]",
26 Hidden: true,
27 Annotations: map[string]string{
28 "experimentalCLI": "true",
29 },
30 }
31 cmd.AddCommand(
32 vizCommand(p, dockerCli, backendOptions),
33 publishCommand(p, dockerCli, backendOptions),
34 generateCommand(p, dockerCli, backendOptions),
35 )
36 return cmd
37}

Callers 1

RootCommandFunction · 0.85

Calls 3

vizCommandFunction · 0.85
publishCommandFunction · 0.85
generateCommandFunction · 0.85

Tested by

no test coverage detected