code: func NewCmdRollout(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:                   "rollout SUBCOMMAND",
  		DisableFlagsInUseLine: true,
  		Short:                 i18n.T("Manage the rollout of a resource"),
  		Long:                  rolloutLong,
  		Example:               rolloutExample,
  		Run:                   cmdutil.DefaultSubCommandRun(streams.Out),
  	}
  	// subcommands
  	cmd.AddCommand(NewCmdRolloutHistory(f, streams))
  	cmd.AddCommand(NewCmdRolloutPause(f, streams))
  	cmd.AddCommand(NewCmdRolloutResume(f, streams))
  	cmd.AddCommand(NewCmdRolloutUndo(f, streams))
  	cmd.AddCommand(NewCmdRolloutStatus(f, streams))
  	cmd.AddCommand(NewCmdRolloutRestart(f, streams))
  
  	return cmd
  }
docs: // NewCmdRollout returns a Command instance for 'rollout' sub command