From 50cb852130986249cacec411e23392a8610e12f1 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 5 Jul 2026 19:17:04 +0200 Subject: feat(budget): tx edit --budget and budget update (v0.5.0) Add two deferred budget follow-ups: - tx edit --budget: re-assign a budget on an existing transaction, mirroring the existing tx add --budget flag (name/id resolved, hard error on miss). Resolves the ISSUES.md backfill wish. - budget update: rename a budget and/or edit its auto-budget fields via PUT /budgets/{id}; only fields passed are sent, empty is a hard error. New command adds to the CLI surface without breaking callers, so this is a MINOR bump (0.4.1 -> 0.5.0). Docs (README, SKILL.md), completion, and TODO synced. The tx add --budget-id item stays open (still YAGNI). Co-Authored-By: Claude Opus 4.8 --- TODO.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index fe1fafc..3208c57 100644 --- a/TODO.md +++ b/TODO.md @@ -18,11 +18,9 @@ bash completion). ## Verbs on existing groups - [ ] `account delete` — currently needs a manual curl DELETE. - [ ] `tx update` / `tx delete`. -- [ ] `tx edit --budget` — `tx add` can assign a budget (v0.4.0) but `tx edit` - cannot re-budget an existing transaction. Add the flag mirroring `tx add`. -- [ ] `budget update` — rename a budget and/or edit its auto-budget fields - (PUT /budgets/{id} accepts name + auto_budget_*). Only enable/disable - (active toggle) shipped in v0.4.0; rename currently needs the web UI. +- [x] `tx edit --budget` — mirrors `tx add --budget`. Shipped v0.5.0. +- [x] `budget update` — rename + auto-budget fields via PUT /budgets/{id}. + Shipped v0.5.0. - [ ] `tx add --budget-id` — `--budget` resolves a name-or-id but sniffs all-digit refs as ids, so a budget literally named "7" is unreachable by name (see the ponytail note in `resolver.py`). Add an explicit -- cgit v1.2.3