code: func NewCmdCreateServiceAccount(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command {
  	options := &ServiceAccountOpts{
  		CreateSubcommandOptions: NewCreateSubcommandOptions(ioStreams),
  	}
  
  	cmd := &cobra.Command{
  		Use:                   "serviceaccount NAME [--dry-run]",
  		DisableFlagsInUseLine: true,
  		Aliases:               []string{"sa"},
  		Short:                 i18n.T("Create a service account with the specified name"),
  		Long:                  serviceAccountLong,
  		Example:               serviceAccountExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmdutil.CheckErr(options.Complete(f, cmd, args))
  			cmdutil.CheckErr(options.Run())
  		},
  	}
  
  	options.CreateSubcommandOptions.PrintFlags.AddFlags(cmd)
  
  	cmdutil.AddApplyAnnotationFlags(cmd)
  	cmdutil.AddValidateFlags(cmd)
  	cmdutil.AddGeneratorFlags(cmd, generateversioned.ServiceAccountV1GeneratorName)
  	return cmd
  }
docs: // NewCmdCreateServiceAccount is a macro command to create a new service account