INNER CODE UNIT · Go

init

docker/cli · cli/command/builder/cmd.go:12

func init() {
	commands.Register(newBuilderCommand)
	commands.Register(func(c command.Cli) *cobra.Command {
		return newBakeStubCommand(c)
	})
}

// newBuilderCommand returns a cobra command for `builder` subcommands
func newBuilderCommand(dockerCLI command.Cli) *cobra.Command {
	cmd := &cobra.Command{
		Use:         "builder",
		Short:       "Manage builds",
		Args:        cli.NoArgs,
		RunE:        command.ShowHelp(dockerCLI.Err()),
		Annotations: map[string]string{"version": "1.31"},

		DisableFlagsInUseLine: true,
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…