diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-22 20:17:18 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-22 20:17:18 +0200 |
| commit | d4c02a0a1d320d38858e6ff0fb607237bcf42cdd (patch) | |
| tree | 786e3a259a10ec07c89f786ee57bf8260fdf9842 /internal/askcli/dispatch.go | |
| parent | f306a6b5981f93562f3eed2087ee9c53fb01520b (diff) | |
Implement 'ask list' subcommand: parse export JSON, sort by priority/urgency, format 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 399e346..35b9397 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", "export": + case "add", "info", "export": return d.runner.Run(ctx, args, stdin, stdout, stderr) + case "list": + return d.handleList(ctx, args, stdout, stderr) case "dep": return d.handleDep(ctx, args, stdout, stderr) case "urgency": |
