summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
12 hoursfeat: add tx edit and tx delete (v0.3.0)HEADv0.3.0masterDanilo M.1-0/+67
Implements ISSUES.md #1, the missing other half of an import tool: correcting and removing mis-imported transactions without the web UI. - tx edit <id>: PATCH a single-split journal; only the fields passed are sent (--amount/--date/--desc/--from/--to/--category/--tags/--type). Errors if no field is given. Accounts resolve to ids; category/tags pass raw. - tx delete <id>: requires --yes (no interactive prompt, agent-first); prints {"deleted": "<id>"} on success. Also fix gen_completion.py: running it as a script put scripts/ on sys.path[0] and imported the installed (stale) firefly_cli, so the generated completion drifted (missing account balance/get, tx get/search). Prepend the repo root so the documented regen command uses this tree. The regenerated completion now reflects the full command surface. MINOR bump per the contract-keyed scheme: new commands, no breaking change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 hourstest: cover --human _VIEWS; add TODO.mdDanilo M.1-0/+38
Add unit tests for each output view (account, tag, account balance, category): right columns surfaced, API plumbing dropped. Add TODO.md listing the deferred command groups and follow-up work. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
15 hoursoutput: decorate --human tables, color by tx type, IT datesv0.2.2Danilo M.1-0/+46
The --human transaction table now uses Italian dates (DD/MM/YYYY), a header rule line, and colors each row by transaction type (withdrawal red, deposit green, transfer cyan) when writing to a TTY. Colors are suppressed when piped; JSON output is unchanged. Bump to 0.2.2. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 hoursaccount create: add verb for asset/expense/revenue accountsv0.2.0Danilo M.1-0/+50
New `firefly account create <name> --type asset|expense|revenue` [--opening-balance N] [--currency CODE]. asset accounts default to the defaultAsset role; opening balance is dated today (Firefly pairs the two). Unsupported types (liability, etc.) are a hard client-side error with no API call. Live-verified against the test instance. Bumps to 0.2.0. Docs synced: README, CLAUDE.md, SKILL.md, including the category/tag auto-create clarification. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 hourstx add: auto-create categories instead of requiring themDanilo M.1-0/+12
Pass --category straight to Firefly III as category_name; the API creates the category if it does not exist, matching --tags behavior. Drops the resolver lookup that turned an unknown category into a hard error. Accounts still resolve strictly (real money). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 hourstest: gated live integration tests, self-cleaningDanilo M.2-0/+56
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 hoursfeat: CLI wiring from command registryDanilo M.1-0/+26
19 hoursfeat: transaction add/list/get/search with type inferenceDanilo M.1-0/+68
19 hoursfeat: account, category, tag, auth commandsDanilo M.1-0/+27
19 hoursfeat: name-to-id resolver with loud ambiguity errorsDanilo M.1-0/+43
19 hoursfeat: command registry and contextDanilo M.1-0/+23
19 hoursfeat: output emit and envelope unwrapDanilo M.1-0/+31
19 hoursfeat: HTTP client with auth and error surfacingDanilo M.1-0/+47
19 hoursfeat: config load/write with env overrideDanilo M.1-0/+35
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 hoursfeat: error typesDanilo M.3-0/+16