feat(cli): rework developer CLI with non-blocking tasks and GitHub CI checks

Rebuild the developer CLI and interactive TUI from the ground up using
Bubble Tea v2, Lip Gloss v2, and non-blocking background workers. Adds
support for background docker pulls with live per-layer byte progress,
build log streaming, interactive container shells, dynamic sidebar
tabs (logs / build / ci), and gh cli integration to view or watch CI checks.
This commit is contained in:
Thomas Camlong committed 2026-08-21 15:40:04 +02:00
1 parent 4c475b8c0a
commit 7710abcf26
50 files changed
+7228 -2520

No files matched your search

+12 -11
View File
@@ -14,15 +14,16 @@ func OpenURL(url string) error {
return exec.Command(name, args...).Start()
}
func openCommand(goos, url string) (string, []string, error) {
switch goos {
case "darwin":
return "open", []string{url}, nil
case "linux":
return "xdg-open", []string{url}, nil
case "windows":
return "rundll32", []string{"url.dll,FileProtocolHandler", url}, nil
default:
return "", nil, fmt.Errorf("opening URLs is not supported on %s", goos)
}
var platformOpeners = map[string]func(string) (string, []string){
"darwin": func(u string) (string, []string) { return "open", []string{u} },
"linux": func(u string) (string, []string) { return "xdg-open", []string{u} },
"windows": func(u string) (string, []string) { return "rundll32", []string{"url.dll,FileProtocolHandler", u} },
}
func openCommand(goos, url string) (string, []string, error) {
if opener, supported := platformOpeners[goos]; supported {
name, args := opener(url)
return name, args, nil
}
return "", nil, fmt.Errorf("opening URLs is not supported on %s", goos)
}