diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-30 13:07:06 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-30 13:07:06 +0200 |
| commit | 93dbbe18e934d87ebf6ae6c614bb26f0e9e5afa5 (patch) | |
| tree | 73770fb498e16103528bdd350d9159d3ead170aa /CLAUDE.md | |
| parent | 2db11aa5d34766e4d23ccc308c57c470b6aa6dba (diff) | |
| download | firefly-cli-0.2.0.tar.gz firefly-cli-0.2.0.zip | |
account create: add verb for asset/expense/revenue accountsv0.2.0
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.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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. |
