code: func (o *NamespaceOptions) Validate() error {
  	if len(o.rawConfig.CurrentContext) == 0 {
  		return errNoContext
  	}
  	if len(o.args) > 1 {
  		return fmt.Errorf("either one or no arguments are allowed")
  	}
  
  	return nil
  }
docs: // Validate ensures that all required arguments and flag values are provided