feat: add config opt-out, TTY check, and config-first update flow

- Add auto_update_check config field (defaults to true)
- Load config before update check, skip if auto_update_check is false
- Add TTY check before interactive prompt (skip in non-TTY environments)
- Update config.example.yaml with new option documentation
This commit is contained in:
2026-08-22 10:44:01 +02:00
parent 7f2c9b2ba8
commit c0ad7e803e
5 changed files with 35 additions and 2 deletions
+1
View File
@@ -7,6 +7,7 @@ require (
github.com/charmbracelet/bubbles v0.21.1
github.com/charmbracelet/bubbletea v1.3.10
github.com/creativeprojects/go-selfupdate v1.6.0
golang.org/x/term v0.44.0
gopkg.in/yaml.v3 v3.0.1
)