add tui to no-channel build variant

This commit is contained in:
lpf
2026-03-10 18:28:32 +08:00
parent 06021d03c0
commit 65ff318ae3
7 changed files with 1600 additions and 69 deletions

12
cmd/cmd_tui_stub.go Normal file
View File

@@ -0,0 +1,12 @@
//go:build !with_tui
package main
import "fmt"
var tuiEnabled = false
func tuiCmd() {
fmt.Println("TUI is not included in this build.")
fmt.Println("Install the no-channel variant to use `clawgo tui`.")
}