diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-23 08:21:27 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-23 08:21:27 +0200 |
| commit | 1e2e96f92d6fb25ae55303d90444534369bda0aa (patch) | |
| tree | c809ee89978c6de886f66541807d3efc447ac180 /internal/askcli/command_info_add.go | |
| parent | 4958ea5100ebf8d4ff9fd818b7bc59d01989feb4 (diff) | |
fix: correct taskwarrior filter ordering in dep and info commands
- command_dep.go handleDepAddRm: was passing uuid as a modification
argument (task modify <uuid> depends:...) which could modify ALL
agent tasks; now uses uuid:<uuid> as filter
- command_dep.go handleDepList: updated deprecated 'uuid <value>'
space syntax to canonical 'uuid:<uuid>' colon syntax
- command_info_add.go handleInfo: same space→colon fix for consistency
All mutation commands now uniformly use uuid:<uuid> as the filter
before the action verb.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/askcli/command_info_add.go')
| -rw-r--r-- | internal/askcli/command_info_add.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/askcli/command_info_add.go b/internal/askcli/command_info_add.go index 5b76b2b..5545881 100644 --- a/internal/askcli/command_info_add.go +++ b/internal/askcli/command_info_add.go @@ -18,7 +18,7 @@ func (d Dispatcher) handleInfo(ctx context.Context, args []string, stdout, stder return 1, nil } var outBuf bytes.Buffer - code, err := d.runner.Run(ctx, []string{"uuid", uuid, "export"}, nil, &outBuf, stderr) + code, err := d.runner.Run(ctx, []string{"uuid:" + uuid, "export"}, nil, &outBuf, stderr) if code != 0 { return code, err } |
