This can be achieved as of version 0.15.0 by not supplying a name when calling add_typer
. Source.
main.py
import typer
import other
app = typer.Typer()
app.add_typer(other.app)
other.py
import typer
app = typer.Typer()
@app.command()
def foo():
pass