code: def list_plugins(directory=None):
      
      repo = require_repo(directory)
      plugins = get_value(repo, 'plugins')
      if not plugins or not isinstance(plugins, dict):
          return None
      return plugins.keys()
docs: Gets a list of the installed themes.