summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-06 22:48:26 +0300
committerPaul Buetow <paul@buetow.org>2026-04-07 09:24:18 +0300
commit0f8005352d02236c923ac9c593de47f886ca4305 (patch)
treead9a85a95ebe604bb65543f431f727b39addbf71 /cmd
parent896cfea3c06e7aa3247c80f175f96249b9bf5a88 (diff)
ui: add --ultra CLI flag to start in ultra modus (yw)
Add --ultra boolean flag mirroring the --disco pattern. Add SetUltra() method to Model so the flag sets showUltra=true before the TUI starts, opening directly in ultra mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/tasksamurai/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go
index 15ee037..8596fab 100644
--- a/cmd/tasksamurai/main.go
+++ b/cmd/tasksamurai/main.go
@@ -25,6 +25,7 @@ func main() {
debugDir := flag.String("debug-dir", "", "directory for runtime debug output (goroutine dumps, profiles)")
browserCmd := flag.String("browser-cmd", browserCmdDefault, "command used to open URLs")
disco := flag.Bool("disco", false, "enable disco mode")
+ ultra := flag.Bool("ultra", false, "start directly in ultra mode")
flag.Parse()
if err := task.SetDebugLog(*debugLog); err != nil {
@@ -43,6 +44,7 @@ func main() {
}
m.SetDisco(*disco)
+ m.SetUltra(*ultra)
// Clear the screen before starting the TUI to avoid leaving any
// previous command line artefacts behind.