diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-27 06:19:31 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-27 06:19:31 +0200 |
| commit | 6b964400deb653d2c47aa8932ab5444346833b0d (patch) | |
| tree | fdb9166624b91fa11cfa1e9b4a2ca3ad63bf9739 /internal/askcli/command_write.go | |
| parent | b67069c110c210b05507fca839d45b43431f5e86 (diff) | |
askcli: show task aliases in output (cd322ed1-882d-40e9-ab98-689acd5f161e)
Diffstat (limited to 'internal/askcli/command_write.go')
| -rw-r--r-- | internal/askcli/command_write.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/askcli/command_write.go b/internal/askcli/command_write.go index afa1475..643f74e 100644 --- a/internal/askcli/command_write.go +++ b/internal/askcli/command_write.go @@ -23,7 +23,7 @@ func (d Dispatcher) handleDenotate(ctx context.Context, args []string, stdout, s if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -43,7 +43,7 @@ func (d Dispatcher) handleModify(ctx context.Context, args []string, stdout, std if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -63,7 +63,7 @@ func (d Dispatcher) handleAnnotate(ctx context.Context, args []string, stdout, s if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -84,7 +84,7 @@ func (d Dispatcher) handleStart(ctx context.Context, args []string, stdout, stde if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -103,7 +103,7 @@ func (d Dispatcher) handleStop(ctx context.Context, args []string, stdout, stder if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -122,7 +122,7 @@ func (d Dispatcher) handleDone(ctx context.Context, args []string, stdout, stder if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -142,7 +142,7 @@ func (d Dispatcher) handlePriority(ctx context.Context, args []string, stdout, s if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } @@ -162,6 +162,6 @@ func (d Dispatcher) handleTag(ctx context.Context, args []string, stdout, stderr if code != 0 { return code, err } - io.WriteString(stdout, FormatSuccess(resolved.UUID)) + io.WriteString(stdout, FormatSuccess(displayResolvedTaskID(resolved))) return 0, nil } |
