Files
Memoh/cmd/memoh/migrate.go
T
晨苒 d2449cd345 reactor(cli): move memoh cli to tui
1. Split the oversized `cmd/agent` entrypoint into a multi-file package and update dev/build scripts to use the package path instead of compiling `main.go` directly.
2. Add a new `memoh` terminal UI for local bot chat, with Bubble Tea
2026-04-14 01:21:03 +08:00

15 lines
318 B
Go

package main
import "github.com/spf13/cobra"
func newMigrateCommand() *cobra.Command {
return &cobra.Command{
Use: "migrate <up|down|version|force N>",
Short: "Run database migrations",
Args: cobra.MinimumNArgs(1),
RunE: func(_ *cobra.Command, args []string) error {
return runMigrate(args)
},
}
}