Skip to content

Commit 7b32646

Browse files
dnephinTibor Vass
authored andcommitted
Move api/client -> cli/command
Using gomvpkg -from github.com/docker/docker/api/client -to github.com/docker/docker/cli/command -vcs_mv_cmd 'git mv {{.Src}} {{.Dst}}' Signed-off-by: Daniel Nephin <dnephin@docker.com>
1 parent 357f26d commit 7b32646

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

man/generate.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/docker/docker/api/client"
8-
"github.com/docker/docker/api/client/command"
7+
"github.com/docker/docker/cli/command"
8+
"github.com/docker/docker/cli/command/commands"
99
"github.com/docker/docker/pkg/term"
1010
"github.com/spf13/cobra"
1111
"github.com/spf13/cobra/doc"
@@ -19,9 +19,9 @@ func generateManPages(path string) error {
1919
}
2020

2121
stdin, stdout, stderr := term.StdStreams()
22-
dockerCli := client.NewDockerCli(stdin, stdout, stderr)
22+
dockerCli := command.NewDockerCli(stdin, stdout, stderr)
2323
cmd := &cobra.Command{Use: "docker"}
24-
command.AddCommands(cmd, dockerCli)
24+
commands.AddCommands(cmd, dockerCli)
2525

2626
cmd.DisableAutoGenTag = true
2727
return doc.GenManTreeFromOpts(cmd, doc.GenManTreeOptions{

0 commit comments

Comments
 (0)