parameters: (args, config)
return_statement: return 0
docstring: Uninstalls a plugin
docstring_summary: Uninstalls a plugin
docstring_tokens: Uninstalls a plugin
function: def uninstall(args, config):
      """
      Uninstalls a plugin
      """
      plugin_name = args.name
      installed = _get_installed(config)
      if plugin_name not in installed:
          logging.error('Plugin %s is not installed.', plugin_name)
          return 1
      os.remove(installed[plugin_name])
      return 0
function_tokens: def uninstall ( args , config ) : plugin_name = args . name installed = _get_installed ( config ) if plugin_name not in installed : logging . error ( 'Plugin %s is not installed.' , plugin_name ) return 1 os . remove ( installed [ plugin_name ] ) return 0