def add_cli_to_bel_namespace(main: click.Group) -> click.Group:  
@main.command()<EOL>@click.option('<STR_LIT>', '<STR_LIT>', is_flag=True)<EOL>@click.pass_obj<EOL>def upload(manager: BELNamespaceManagerMixin, update):<EOL><INDENT>"""<STR_LIT>"""<EOL>namespace = manager.upload_bel_namespace(update=update)<EOL>click.echo(f'<STR_LIT>')<EOL><DEDENT>return main<EOL>
Add a ``upload_bel_namespace`` command to main :mod:`click` function.