remove all references to cli from compose.v2 cmd package

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-08-31 15:41:20 +02:00
parent 52df801287
commit fcb91096b8
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
30 changed files with 71 additions and 65 deletions

View file

@ -35,7 +35,7 @@ const descriptionSourcePath = "docs/reference/"
func generateCliYaml(opts *options) error {
cmd := &cobra.Command{Use: "docker"}
cmd.AddCommand(compose.RootCommand("local", nil))
cmd.AddCommand(compose.RootCommand(nil))
disableFlagsInUseLine(cmd)
source := filepath.Join(opts.source, descriptionSourcePath)
if err := loadLongDescription(cmd, source); err != nil {