Added full bubbletea TUI
Release / release (push) Has been cancelled

This commit is contained in:
2026-05-14 01:09:45 +00:00
parent d6f65c58f6
commit 1b14a3ed33
10 changed files with 1757 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
package cli
import (
"github.com/spf13/cobra"
"git.cer.sh/axodouble/quptime/internal/tui"
)
func addTUICmd(root *cobra.Command) {
cmd := &cobra.Command{
Use: "tui",
Short: "Open the interactive terminal UI",
Long: "Open a full-screen TUI that overlays the same commands the CLI offers.\n" +
"The TUI is a thin client over the local daemon socket — start the daemon\n" +
"with `qu serve` before running this.",
RunE: func(cmd *cobra.Command, args []string) error {
return tui.Run()
},
}
root.AddCommand(cmd)
}