code: func NewCmdCreateSecret(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:   "secret",
  		Short: i18n.T("Create a secret using specified subcommand"),
  		Long:  "Create a secret using specified subcommand.",
  		Run:   cmdutil.DefaultSubCommandRun(ioStreams.ErrOut),
  	}
  	cmd.AddCommand(NewCmdCreateSecretDockerRegistry(f, ioStreams))
  	cmd.AddCommand(NewCmdCreateSecretTLS(f, ioStreams))
  	cmd.AddCommand(NewCmdCreateSecretGeneric(f, ioStreams))
  
  	return cmd
  }
docs: // NewCmdCreateSecret groups subcommands to create various types of secrets