code: func NewCmdCreatePriorityClass(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command {
  	options := &PriorityClassOpts{
  		CreateSubcommandOptions: NewCreateSubcommandOptions(ioStreams),
  	}
  
  	cmd := &cobra.Command{
  		Use:                   "priorityclass NAME --value=VALUE --global-default=BOOL [--dry-run]",
  		DisableFlagsInUseLine: true,
  		Aliases:               []string{"pc"},
  		Short:                 i18n.T("Create a priorityclass with the specified name."),
  		Long:                  pcLong,
  		Example:               pcExample,
  		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.PriorityClassV1Alpha1GeneratorName)
  
  	cmd.Flags().Int32("value", 0, i18n.T("the value of this priority class."))
  	cmd.Flags().Bool("global-default", false, i18n.T("global-default specifies whether this PriorityClass should be considered as the default priority."))
  	cmd.Flags().String("description", "", i18n.T("description is an arbitrary string that usually provides guidelines on when this priority class should be used."))
  	return cmd
  }
docs: // NewCmdCreatePriorityClass is a macro command to create a new priorityClass.