code: func NewImageCommand(dockerCli command.Cli) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:   "image",
  		Short: "Manage images",
  		Args:  cli.NoArgs,
  		RunE:  command.ShowHelp(dockerCli.Err()),
  	}
  	cmd.AddCommand(
  		NewBuildCommand(dockerCli),
  		NewHistoryCommand(dockerCli),
  		NewImportCommand(dockerCli),
  		NewLoadCommand(dockerCli),
  		NewPullCommand(dockerCli),
  		NewPushCommand(dockerCli),
  		NewSaveCommand(dockerCli),
  		NewTagCommand(dockerCli),
  		newListCommand(dockerCli),
  		newRemoveCommand(dockerCli),
  		newInspectCommand(dockerCli),
  		NewPruneCommand(dockerCli),
  	)
  	return cmd
  }
docs: // NewImageCommand returns a cobra command for `image` subcommands