mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-03-12 12:25:32 +08:00
refactor(cli): centralize Typer app creation and command registration
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
from typing import cast
|
||||
|
||||
import typer
|
||||
from commands import app
|
||||
|
||||
|
||||
@app.command()
|
||||
def benchmark(
|
||||
ctx: typer.Context,
|
||||
model_path: str = typer.Option(
|
||||
|
||||
Reference in New Issue
Block a user