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