diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 21:11:02 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 21:11:02 +0300 |
| commit | 0acdd70e95618c7bb50db7b6b55b5272409f454c (patch) | |
| tree | 951a23fa299ee251987a387f7b7f03f2d645e347 /cmd | |
| parent | 8de85810e32076b1e81588b2405e78bdefe94c93 (diff) | |
Pass CLI args to task binary
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/tasksamurai/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go index bd3cd24..52263de 100644 --- a/cmd/tasksamurai/main.go +++ b/cmd/tasksamurai/main.go @@ -12,7 +12,6 @@ import ( ) func main() { - filter := flag.String("filter", "", "task filter expression") debugLog := flag.String("debug-log", "", "path to debug log file") flag.Parse() @@ -21,7 +20,7 @@ func main() { os.Exit(1) } - m, err := ui.New(*filter) + m, err := ui.New(flag.Args()) if err != nil { fmt.Fprintln(os.Stderr, "failed to load tasks:", err) os.Exit(1) |
