chore(cli): remove tview-example command

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-01-29 12:17:37 +00:00
parent dbe617c23e
commit ecee1635cd
3 changed files with 0 additions and 27 deletions

View file

@ -31,7 +31,6 @@ func Execute() error {
AddAgenticCommands(devCmd)
AddDevCommand(devCmd)
AddBuildCommand(app)
AddTviewCommand(app)
AddWorkCommand(app)
AddHealthCommand(app)
AddIssuesCommand(app)

View file

@ -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
})
}

BIN
core

Binary file not shown.