(args, config)
return 0
Uninstalls a plugin
Uninstalls a plugin
Uninstalls a plugin
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
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