Skip to content

Commit

Permalink
mark alpha command as experimental
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
  • Loading branch information
ndeloof committed Jan 12, 2023
1 parent db267d8 commit 3c209f3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions cmd/compose/alpha.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ func alphaCommand(p *ProjectOptions, backend api.Service) *cobra.Command {
Short: "Experimental commands",
Use: "alpha [COMMAND]",
Hidden: true,
Annotations: map[string]string{
"experimental": "true",
"experimentalCLI": "true",
},
}
cmd.AddCommand(watchCommand(p, backend))
return cmd
Expand Down
4 changes: 4 additions & 0 deletions cmd/compose/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ func watchCommand(p *ProjectOptions, backend api.Service) *cobra.Command {
return runWatch(ctx, backend, opts, args)
}),
ValidArgsFunction: completeServiceNames(p),
Annotations: map[string]string{
"experimental": "true",
"experimentalCLI": "true",
},
}

cmd.Flags().BoolVar(&opts.quiet, "quiet", false, "hide build output")
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/docker_compose_alpha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ cname:
clink:
- docker_compose_alpha_watch.yaml
deprecated: false
experimental: false
experimentalcli: false
experimental: true
experimentalcli: true
kubernetes: false
swarm: false

4 changes: 2 additions & 2 deletions docs/reference/docker_compose_alpha_watch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ options:
kubernetes: false
swarm: false
deprecated: false
experimental: false
experimentalcli: false
experimental: true
experimentalcli: true
kubernetes: false
swarm: false

0 comments on commit 3c209f3

Please sign in to comment.