package containerimage

import (
	"github.com/spf13/cobra"
)

// CmdContainerImage represents the containerimage command
func CmdContainerImage() *cobra.Command {
	cmd := &cobra.Command{
		Use:          "containerimage",
		Short:        "Replace container image references with checksums",
		RunE:         replaceYAML,
		SilenceUsage: true,
	}

	cmd.AddCommand(CmdOne())
	cmd.AddCommand(CmdYAML())

	return cmd
}
