code: func (o *CreateOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error {
  	var err error
  	o.RecordFlags.Complete(cmd)
  	o.Recorder, err = o.RecordFlags.ToRecorder()
  	if err != nil {
  		return err
  	}
  
  	o.DryRun = cmdutil.GetDryRunFlag(cmd)
  
  	if o.DryRun {
  		o.PrintFlags.Complete("%s (dry run)")
  	}
  	printer, err := o.PrintFlags.ToPrinter()
  	if err != nil {
  		return err
  	}
  
  	o.PrintObj = func(obj kruntime.Object) error {
  		return printer.PrintObj(obj, o.Out)
  	}
  
  	return nil
  }
docs: // Complete completes all the required options