aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-30 13:07:06 +0200
committerDanilo M. <danix@danix.xyz>2026-06-30 13:07:06 +0200
commit93dbbe18e934d87ebf6ae6c614bb26f0e9e5afa5 (patch)
tree73770fb498e16103528bdd350d9159d3ead170aa /CLAUDE.md
parent2db11aa5d34766e4d23ccc308c57c470b6aa6dba (diff)
downloadfirefly-cli-master.tar.gz
firefly-cli-master.zip
account create: add verb for asset/expense/revenue accountsHEADv0.2.0master
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>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index d98a427..15acecb 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -30,8 +30,10 @@ No other files change.
## Conventions
- Python 3.11+, standard library only. No third-party runtime deps.
- Output JSON by default (agent-first); `--human` for tables.
-- Name args resolve to IDs; ambiguous or missing names are HARD errors listing
- candidates. Never silently guess an account (real money).
+- Account name args resolve to IDs; ambiguous or missing names are HARD errors
+ listing candidates. Never silently guess an account (real money).
+- Categories and tags are NOT resolved: their names pass straight to Firefly,
+ which auto-creates them. Accounts are never auto-created (`account create`).
- All errors are `firefly_cli.errors.FireflyError` subclasses; `cli.main`
catches them, prints `{"error": ...}` to stderr, returns exit code 1.