From b67069c110c210b05507fca839d45b43431f5e86 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 26 Mar 2026 23:45:09 +0200 Subject: askcli: resolve aliases for selector task 0b9480fe-ec1b-4c0e-a8b0-88f1f08b56d3 --- internal/askcli/command_info_add.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'internal/askcli/command_info_add.go') diff --git a/internal/askcli/command_info_add.go b/internal/askcli/command_info_add.go index 9a7b518..030cf62 100644 --- a/internal/askcli/command_info_add.go +++ b/internal/askcli/command_info_add.go @@ -31,11 +31,8 @@ func (d Dispatcher) handleInfo(ctx context.Context, args []string, stdout, stder func (d Dispatcher) infoTasks(ctx context.Context, args []string, stderr io.Writer) ([]TaskExport, int, error) { if len(args) >= 2 { - uuid := NormalizeUUID(args[1]) - if IsNumericID(uuid) { - return nil, 1, fmt.Errorf(strings.TrimSpace(RejectNumericID())) - } - return d.exportTasks(ctx, []string{"uuid:" + uuid, "export"}, stderr) + _, tasks, code, err := d.resolveTaskSelector(ctx, args[1], stderr) + return tasks, code, err } return d.startedInfoTasks(ctx, stderr) } -- cgit v1.2.3