feat: 完成基本的 model

This commit is contained in:
loveuer
2025-07-10 22:39:41 +08:00
parent 84348f9eaf
commit 99cbe8c523
13 changed files with 400 additions and 14 deletions

View File

@ -3,6 +3,7 @@ package main
import (
"context"
"loveuer/utodo/internal/cmd"
"loveuer/utodo/internal/opt"
"os/signal"
"syscall"
"time"
@ -16,6 +17,7 @@ func main() {
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
defer cancel()
cmd.Init(ctx)
opt.Init()
cmd.Init()
cmd.Execute(ctx)
}