diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-22 19:52:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-22 19:52:08 +0200 |
| commit | 9a6f6c0b747cee47eb61220d94a5fb7aaadd0e2b (patch) | |
| tree | 16fa1b8a4904ddfad1cedfebfd7bcf57fa1291b9 /internal/askcli/dispatch.go | |
| parent | 23e9ab91c1e18f889eac4c0c5d5fd9daaeff7f0d (diff) | |
Implement 'ask urgency' subcommand: export tasks, sort by urgency descending, format as UUID table
Diffstat (limited to 'internal/askcli/dispatch.go')
| -rw-r--r-- | internal/askcli/dispatch.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/askcli/dispatch.go b/internal/askcli/dispatch.go index 1c08aa5..b0c9e18 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", "urgency", "export": + case "add", "list", "info", "dep", "export": return d.runner.Run(ctx, args, stdin, stdout, stderr) + case "urgency": + return d.handleUrgency(ctx, stdout, stderr) case "annotate": return d.handleAnnotate(ctx, args, stdout, stderr) case "start": |
