def uninstall_plugin(pkgpath, force):
    """Uninstall a plugin.

    :param pkgpath: Path to package to uninstall (delete)
    :param force: Force uninstall without asking
    """
    pkgname = os.path.basename(pkgpath)
    if os.path.exists(pkgpath):
        if not force:
            click.confirm("[?] Are you sure you want to delete `{}` from honeycomb?".format(pkgname),
                          abort=True)
        try:
            shutil.rmtree(pkgpath)
            logger.debug("successfully uninstalled {}".format(pkgname))
            click.secho("[*] Uninstalled {}".format(pkgname))
        except OSError as exc:
            logger.exception(str(exc))
    else:
        click.secho("[-] doh! I cannot seem to find `{}`, are you sure it's installed?".format(pkgname))
Uninstall a plugin.

    :param pkgpath: Path to package to uninstall (delete)
    :param force: Force uninstall without asking