diff --git a/cmd/core/cmd/root.go b/cmd/core/cmd/root.go index 056a79de..4031abf3 100644 --- a/cmd/core/cmd/root.go +++ b/cmd/core/cmd/root.go @@ -31,7 +31,6 @@ func Execute() error { AddAgenticCommands(devCmd) AddDevCommand(devCmd) AddBuildCommand(app) - AddTviewCommand(app) AddWorkCommand(app) AddHealthCommand(app) AddIssuesCommand(app) diff --git a/cmd/core/cmd/tview.go b/cmd/core/cmd/tview.go deleted file mode 100644 index be954d2f..00000000 --- a/cmd/core/cmd/tview.go +++ /dev/null @@ -1,26 +0,0 @@ -package cmd - -import ( - "fmt" - "os" - - "github.com/leaanthony/clir" - "github.com/rivo/tview" -) - -// AddTviewCommand adds the tview-example command to the clir app. -func AddTviewCommand(app *clir.Cli) { - tviewCmd := app.NewSubCommand("tview-example", "Runs a tview example to demonstrate its capabilities") - tviewCmd.LongDescription("This command launches a simple tview application to showcase its full-screen terminal UI features.") - tviewCmd.Action(func() error { - app := tview.NewApplication() - box := tview.NewBox(). - SetBorder(true). - SetTitle("Hello from tview!") - if err := app.SetRoot(box, true).Run(); err != nil { - fmt.Fprintf(os.Stderr, "Error running tview app: %v\n", err) - os.Exit(1) - } - return nil - }) -} diff --git a/core b/core index a01a4dd2..fccf892c 100755 Binary files a/core and b/core differ