summaryrefslogtreecommitdiff
path: root/internal/askcli/dispatch.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-22 16:03:43 +0300
committerPaul Buetow <paul@buetow.org>2026-04-22 16:03:43 +0300
commit2fe84d129c45dfc1db38a48421ac7036eb4e6337 (patch)
tree6123798e51337bcc011cea949ecaf4aebe3497b3 /internal/askcli/dispatch.go
parent604f5aa7603498c4f7cc9a649a86d525b824e6c9 (diff)
Fix ask default add dispatch for w7
Diffstat (limited to 'internal/askcli/dispatch.go')
-rw-r--r--internal/askcli/dispatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go
index e326017..cd2aae7 100644
--- a/internal/askcli/dispatch.go
+++ b/internal/askcli/dispatch.go
@@ -56,7 +56,7 @@ func (d *Dispatcher) Dispatch(ctx context.Context, args []string, stdin io.Reade
}
subcommand := args[0]
entry, ok := commandRegistry.get(subcommand)
- if !ok && scope != taskScopeAgent {
+ if !ok {
args = append([]string{"add"}, args...)
subcommand = "add"
entry, ok = commandRegistry.get(subcommand)