Initial commit.

This commit is contained in:
2025-10-11 17:19:11 +00:00
commit 24245e46e8
33 changed files with 4206 additions and 0 deletions

17
internal/config/config.go Normal file
View File

@@ -0,0 +1,17 @@
// Package config handles CLI configuration
package config
import (
"os"
)
// GetDaemonURL returns the daemon URL from environment or default
func GetDaemonURL() string {
// Check environment variable first
if url := os.Getenv("WILD_DAEMON_URL"); url != "" {
return url
}
// Use default matching daemon's port
return "http://localhost:5055"
}