// NewCmdRolloutResume is a wrapper for the Kubernetes cli rollout resume command func NewCmdRolloutResume(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command { cmd := rollout.NewCmdRolloutResume(f.Factory, out) cmd.Long = rolloutResumeLong cmd.Example = fmt.Sprintf(rolloutResumeExample, fullName) cmd.ValidArgs = append(cmd.ValidArgs, "deploymentconfig") return cmd }
// NewCmdRolloutResume is a wrapper for the Kubernetes cli rollout resume command func NewCmdRolloutResume(fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command { cmd := rollout.NewCmdRolloutResume(f.Factory, out) cmd.Long = rolloutResumeLong cmd.Example = fmt.Sprintf(rolloutResumeExample, fullName) return cmd }