@plugins_cmd.command('remove', short_help='Removes a plugin from the project.')
@click.argument('name')
@pass_context
def plugins_remove_cmd(ctx, name):
    """This command can remove a plugion to the project again.  The name
    of the plugin is the only argument to the function.
    """
    project = ctx.get_project()
    from .packages import remove_package_from_project
    try:
        old_info = remove_package_from_project(project, name)
    except __HOLE__ as e:
        click.echo('Error: %s' % e, err=True)
    else:
        if old_info is None:
            click.echo('Package was not registered with the project.  '
                       'Nothing was removed.')
        else:
            click.echo('Removed package %s (%s)' % (
                old_info['name'],
                old_info['version'],
            ))
dataset/ETHPy150Open lektor/lektor-archive/lektor/cli.py/plugins_remove_cmd