Add help screen, connection indicators, README and release builds (M7)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 19:11:07 +02:00
co-authored by Claude Sonnet 5.5
parent f928427993
commit 3f6e595719
8 changed files with 229 additions and 8 deletions
+9
View File
@@ -10,6 +10,9 @@ import (
"git.stinnesbeck.com/nils/arr-tui/internal/ui"
)
// version is set at build time: -ldflags "-X main.version=v0.1.0".
var version = "dev"
func main() {
if err := run(); err != nil {
fmt.Fprintln(os.Stderr, "arr-tui:", err)
@@ -19,8 +22,14 @@ func main() {
func run() error {
path := flag.String("config", "", "path to config.json (default: $XDG_CONFIG_HOME/arr-tui/config.json)")
showVersion := flag.Bool("version", false, "print the version and exit")
flag.Parse()
if *showVersion {
fmt.Println("arr-tui", version)
return nil
}
if *path == "" {
p, err := config.DefaultPath()
if err != nil {