Make debug logging optional and update build script output
This commit is contained in:
@@ -25,7 +25,7 @@ func main() {
|
||||
// Define flags
|
||||
serverAddr := flag.String("server", "127.0.0.1:9987", "TeamSpeak 3 Server Address")
|
||||
nickname := flag.String("nickname", "TUI-User", "Your nickname")
|
||||
debug := flag.Bool("debug", true, "Enable debug logging to file (default true)")
|
||||
debug := flag.Bool("debug", false, "Enable debug logging to file (default false)")
|
||||
flag.Parse()
|
||||
|
||||
// Panic Recovery
|
||||
|
||||
2
tui.ps1
2
tui.ps1
@@ -10,4 +10,4 @@ $env:XAI_API_KEY = "xai-TyecBoTLlFNL0Qxwnb0eRainG8hKTpJGtnCziMhm1tTyB1FrLpZm0gHN
|
||||
# go run ./cmd/voicebot --server localhost:9987 --nickname Adam --voice Rex --greeting " " --room "test"
|
||||
|
||||
# go run ./cmd/tui --server ts.vlazaro.es:9987 --nickname Adam
|
||||
go build -o tui_debug.exe ./cmd/tui
|
||||
go build -o dist/tui_debug.exe ./cmd/tui
|
||||
Reference in New Issue
Block a user