@plugins_cmd.command('remove', short_help='Removes a plugin from the project.')
@click.argument('name')
@pass_context
def plugins_remove_cmd(ctx, name):
    project = ctx.get_project()
    from .packages import remove_package_from_project
    try:
        old_info = remove_package_from_project(project, name)
    except RuntimeError 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'],
            ))
Given a list of results, return a list that is simplified to make consensus
dataset/ETHPy150Open lektor/lektor-archive/lektor/cli.py/plugins_remove_cmd--crossover with--dataset/ETHPy150Open priestc/moneywagon/moneywagon/core.py/_prepare_consensus