code: func (o *APIVersionsOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {
  	if len(args) != 0 {
  		return cmdutil.UsageErrorf(cmd, "unexpected arguments: %v", args)
  	}
  	var err error
  	o.discoveryClient, err = f.ToDiscoveryClient()
  	if err != nil {
  		return err
  	}
  	return nil
  }
docs: // Complete adapts from the command line args and factory to the data required