Draft: big refactor

This commit is contained in:
2025-09-16 16:03:27 +08:00
parent f527230f1e
commit 7ee2163a95
33 changed files with 338 additions and 155 deletions

View File

@@ -21,8 +21,8 @@ var RootCmd = &cobra.Command{
SetDisableWarn(true)
queue := []*tea.Program{}
queue = append(queue,
tea.NewProgram(plays.NewLanding(plays.NewBase(client))))
queue = append(queue, tea.NewProgram(
plays.NewLanding(plays.NewBase(client))))
for len(queue) > 0 {
program := queue[0]
@@ -41,4 +41,5 @@ var RootCmd = &cobra.Command{
}
func init() {
RootCmd.AddCommand(clientCmd)
}