src/ols_client/cli.py
def tree(ontology, output, ols_base):
    """Output the parent-child relations to the given file"""
    for parent, child in get_hierarchy(ontology=ontology, ols_base=ols_base):
        click.echo('{}\t{}'.format(parent, child), file=output)
def tree(ontology, output, ols_base):
    """Output the parent-child relations to the given file"""
    for parent, child in get_hierarchy(ontology=ontology, ols_base=ols_base):
        click.echo('{}\t{}'.format(parent, child), file=output)
Output the parent-child relations to the given file