diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-26 23:45:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-26 23:45:09 +0200 |
| commit | b67069c110c210b05507fca839d45b43431f5e86 (patch) | |
| tree | aeabcb0a86ba2cb8e9732605f6fea85538b32454 /internal/askcli/command_info_add.go | |
| parent | d4bdc94f5b29a9baa8517acd2d363383e1e3ee53 (diff) | |
askcli: resolve aliases for selector task 0b9480fe-ec1b-4c0e-a8b0-88f1f08b56d3
Diffstat (limited to 'internal/askcli/command_info_add.go')
| -rw-r--r-- | internal/askcli/command_info_add.go | 7 |
1 files changed, 2 insertions, 5 deletions
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) } |
