@main.command()<EOL>@click.argument('<STR_LIT>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', type=click.File('<STR_LIT:w>'))<EOL>@click.option('<STR_LIT>', '<STR_LIT>', help="<STR_LIT>".format(BASE_URL))<EOL>def tree(ontology, output, ols_base):
for parent, child in get_hierarchy(ontology=ontology, ols_base=ols_base):<EOL><INDENT>click.echo('<STR_LIT>'.format(parent, child), file=output)<EOL><DEDENT>
Output the parent-child relations to the given file