mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-07 12:07:29 +08:00
add tui to no-channel build variant
This commit is contained in:
12
cmd/cmd_tui_stub.go
Normal file
12
cmd/cmd_tui_stub.go
Normal 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`.")
|
||||
}
|
||||
Reference in New Issue
Block a user