From 93dbbe18e934d87ebf6ae6c614bb26f0e9e5afa5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 30 Jun 2026 13:07:06 +0200 Subject: account create: add verb for asset/expense/revenue accounts New `firefly account create --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 --- CLAUDE.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CLAUDE.md') 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. -- cgit v1.2.3