parameters: (self)
return_statement: return []
docstring: Parse the plugins listed in the configuration file and return them.
docstring_summary: Parse the plugins listed in the configuration file and return them.
docstring_tokens: Parse the plugins listed in the configuration file and return them .
function: def plugins(self):
          """
          Parse the plugins listed in the configuration file and return them.
          """
          # Allow extra plugins to be pulled in from the configuration file.
          if "plugins" in self.data:
              if not isinstance(self.data["plugins"], list):
                  raise CLIException("Unable to parse config file '{path}':"
                                     " 'plugins' field must be a list"
                                     .format(path=self.path))
  
              for plugin in self.data["plugins"]:
                  if not os.path.exists(plugin):
                      raise CLIException("Plugin path not found: {path}"
                                         .format(path=plugin))
              return self.data["plugins"]
  
          return []
function_tokens: def plugins ( self ) : # Allow extra plugins to be pulled in from the configuration file. if "plugins" in self . data : if not isinstance ( self . data [ "plugins" ] , list ) : raise CLIException ( "Unable to parse config file '{path}':" " 'plugins' field must be a list" . format ( path = self . path ) ) for plugin in self . data [ "plugins" ] : if not os . path . exists ( plugin ) : raise CLIException ( "Plugin path not found: {path}" . format ( path = plugin ) ) return self . data [ "plugins" ] return [ ]