From bc0849e96fe41e509af4306c0953f463a7fad155 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 23 Mar 2026 13:35:07 +0200 Subject: fix: accept uuid: prefix on all ask subcommands via NormalizeUUID All ask commands now strip a leading "uuid:" prefix from user-supplied UUID arguments before building the taskwarrior filter, so both bare UUIDs and the "uuid:" format work uniformly across annotate, start, stop, done, modify, denotate, priority, tag, info, delete, and dep. Co-Authored-By: Claude Sonnet 4.6 --- internal/askcli/command_delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/askcli/command_delete.go') diff --git a/internal/askcli/command_delete.go b/internal/askcli/command_delete.go index 84764dd..45f0f3d 100644 --- a/internal/askcli/command_delete.go +++ b/internal/askcli/command_delete.go @@ -11,7 +11,7 @@ func (d Dispatcher) handleDelete(ctx context.Context, args []string, stdin io.Re io.WriteString(stderr, "error: ask delete requires a UUID argument\n") return 1, nil } - uuid := args[1] + uuid := NormalizeUUID(args[1]) if IsNumericID(uuid) { io.WriteString(stderr, RejectNumericID()) return 1, nil -- cgit v1.2.3