summaryrefslogtreecommitdiff
path: root/internal/askcli/dispatch.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-22 20:14:18 +0200
committerPaul Buetow <paul@buetow.org>2026-03-22 20:14:18 +0200
commitf306a6b5981f93562f3eed2087ee9c53fb01520b (patch)
treee4979125dd9372c5f915d7c098e4fca154e1699a /internal/askcli/dispatch.go
parent9a6f6c0b747cee47eb61220d94a5fb7aaadd0e2b (diff)
Implement 'ask dep add/rm/list' subcommands
Diffstat (limited to 'internal/askcli/dispatch.go')
-rw-r--r--internal/askcli/dispatch.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go
index b0c9e18..399e346 100644
--- a/internal/askcli/dispatch.go
+++ b/internal/askcli/dispatch.go
@@ -28,8 +28,10 @@ func (d Dispatcher) Dispatch(ctx context.Context, args []string, stdin io.Reader
}
subcommand := args[0]
switch subcommand {
- case "add", "list", "info", "dep", "export":
+ case "add", "list", "info", "export":
return d.runner.Run(ctx, args, stdin, stdout, stderr)
+ case "dep":
+ return d.handleDep(ctx, args, stdout, stderr)
case "urgency":
return d.handleUrgency(ctx, stdout, stderr)
case "annotate":