code: func (o *ReconcileOptions) Complete(cmd *cobra.Command, f cmdutil.Factory, args []string) error {
  	if err := o.FilenameOptions.RequireFilenameOrKustomize(); err != nil {
  		return err
  	}
  
  	if len(args) > 0 {
  		return errors.New("no arguments are allowed")
  	}
  
  	namespace, enforceNamespace, err := f.ToRawKubeConfigLoader().Namespace()
  	if err != nil {
  		return err
  	}
  
  	r := f.NewBuilder().
  		WithScheme(scheme.Scheme, scheme.Scheme.PrioritizedVersionsAllGroups()...).
  		ContinueOnError().
  		NamespaceParam(namespace).DefaultNamespace().
  		FilenameParam(enforceNamespace, o.FilenameOptions).
  		Flatten().
  		Do()
  
  	if err := r.Err(); err != nil {
  		return err
  	}
  	o.Visitor = r
  
  	clientConfig, err := f.ToRESTConfig()
  	if err != nil {
  		return err
  	}
  	o.RBACClient, err = rbacv1client.NewForConfig(clientConfig)
  	if err != nil {
  		return err
  	}
  	o.NamespaceClient, err = corev1client.NewForConfig(clientConfig)
  	if err != nil {
  		return err
  	}
  
  	if o.DryRun {
  		o.PrintFlags.Complete("%s (dry run)")
  	}
  	printer, err := o.PrintFlags.ToPrinter()
  	if err != nil {
  		return err
  	}
  
  	o.PrintObject = printer.PrintObj
  	return nil
  }
docs: // Complete completes all the required options