mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-03-12 20:35:31 +08:00
refactor(cli): centralize Typer app creation and command registration
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import typer
|
||||
from commands import app
|
||||
|
||||
|
||||
@app.command()
|
||||
def generate(ctx: typer.Context):
|
||||
from configs import cfg_manager
|
||||
from data_loading.synthesizer import ImageSynthesizer
|
||||
|
||||
Reference in New Issue
Block a user