summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-24 15:37:49 +0300
committerGitHub <noreply@github.com>2025-06-24 15:37:49 +0300
commitdbfba814e68bd6b679b2fd77bf10d34336485238 (patch)
treec307059026d5d9d7a81aa97014c570080eda2c51 /cmd
parentf88fdbbf69710464139bf2bb0b14ca35293df720 (diff)
parentf7275ade1db4b188fa33acf2d3519b3a0c3bada7 (diff)
Merge pull request #91 from snonux/codex/add-u-hotkey-for-url-extraction-and-open
Add URL open hotkey
Diffstat (limited to 'cmd')
-rw-r--r--cmd/tasksamurai/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go
index 2238c82..8329fa1 100644
--- a/cmd/tasksamurai/main.go
+++ b/cmd/tasksamurai/main.go
@@ -13,6 +13,7 @@ import (
func main() {
debugLog := flag.String("debug-log", "", "path to debug log file")
+ browserCmd := flag.String("browser-cmd", "firefox", "command used to open URLs")
flag.Parse()
if err := task.SetDebugLog(*debugLog); err != nil {
@@ -20,7 +21,7 @@ func main() {
os.Exit(1)
}
- m, err := ui.New(flag.Args())
+ m, err := ui.New(flag.Args(), *browserCmd)
if err != nil {
fmt.Fprintln(os.Stderr, "failed to load tasks:", err)
os.Exit(1)