@plugin.command()<EOL>@click.argument('<STR_LIT>', required=True)<EOL>@click.pass_context<EOL>def uninstall(ctx, plugin):
ensure_inside_venv(ctx)<EOL>if plugin not in get_installed_plugins():<EOL><INDENT>echo_error("<STR_LIT>".format(plugin))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>plugin_name = get_plugin_name(plugin)<EOL>try:<EOL><INDENT>run_command([sys.executable, '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>plugin_name])<EOL><DEDENT>except subprocess.CalledProcessError as e:<EOL><INDENT>echo_error(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(plugin, e.output.decode())<EOL>)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>else:<EOL><INDENT>echo_success("<STR_LIT>".format(plugin))<EOL><DEDENT>
Uninstall the given plugin.