@cli_ldap.command(name='search', help=('Perform an LDAP search with filter: .' + ldap.SEARCH_FILTER))
@click.argument('term', type=click.STRING)
@click.argument('keys', nargs=(- 1), type=click.STRING)
@click_log.simple_verbosity_option(_logger)
def cli_ldap_search(term, keys):
    rows = list(ldap.search(term, list(keys)))
    _echo_table(rows)
@cli_ldap.command(name='search', help=('Perform an LDAP search with filter: .' + ldap.SEARCH_FILTER))
@click.argument('term', type=click.STRING)
@click.argument('keys', nargs=(- 1), type=click.STRING)
@click_log.simple_verbosity_option(_logger)
def cli_ldap_search(term, keys):
    rows = list(ldap.search(term, list(keys)))
    _echo_table(rows)