code: func (pm *Manager) List(pluginFilters filters.Args) ([]types.Plugin, error) {
  	if err := pluginFilters.Validate(acceptedPluginFilterTags); err != nil {
  		return nil, err
  	}
  
  	enabledOnly := false
  	disabledOnly := false
  	if pluginFilters.Contains("enabled") {
  		if pluginFilters.ExactMatch("enabled", "true") {
  			enabledOnly = true
  		} else if pluginFilters.ExactMatch("enabled", "false") {
  			disabledOnly = true
  		} else {
  			return nil, invalidFilter{"enabled", pluginFilters.Get("enabled")}
  		}
  	}
  
  	plugins := pm.config.Store.GetAll()
  	out := make([]types.Plugin, 0, len(plugins))
  
  next:
  	for _, p := range plugins {
  		if enabledOnly && !p.PluginObj.Enabled {
  			continue
  		}
  		if disabledOnly && p.PluginObj.Enabled {
  			continue
  		}
  		if pluginFilters.Contains("capability") {
  			for _, f := range p.GetTypes() {
  				if !pluginFilters.Match("capability", f.Capability) {
  					continue next
  				}
  			}
  		}
  		out = append(out, p.PluginObj)
  	}
  	return out, nil
  }
docs: // List displays the list of plugins and associated metadata.