@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>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', is_flag=True)<EOL>def belns(keyword: str, file: TextIO, encoding: Optional[str], use_names: bool):
directory = get_data_dir(keyword)<EOL>obo_url = f'<STR_LIT>'<EOL>obo_path = os.path.join(directory, f'<STR_LIT>')<EOL>obo_cache_path = os.path.join(directory, f'<STR_LIT>')<EOL>obo_getter = make_obo_getter(obo_url, obo_path, preparsed_path=obo_cache_path)<EOL>graph = obo_getter()<EOL>convert_obo_graph_to_belns(<EOL>graph,<EOL>file=file,<EOL>encoding=encoding,<EOL>use_names=use_names,<EOL>)<EOL>
Write as a BEL namespace.