From 2f768bb3373105e96d0cbc6fb4ba37c777bbca25 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 3 Jul 2026 18:23:53 +0200 Subject: docs: fix budget example in CLAUDE.md, drop dup --budget line in SKILL.md --- CLAUDE.md | 2 +- SKILL.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 8b7f278..7683ae8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -25,7 +25,7 @@ Do not auto-pull on session start (a newer master can be wrong for this instance ## Adding a command (the expandability rule) 1. Add or edit a module in `firefly_cli/commands/`. -2. Decorate the handler: `@registry.command("budget status", help=..., args=fn)`. +2. Decorate the handler: `@registry.command("budget list", help=..., args=fn)`. `args` is `fn(subparser)` adding argparse arguments; handler is `fn(args, ctx) -> int`. `ctx` has `.client`, `.resolver`, `.human`. 3. If it is a new module, add it to the import line in `commands/__init__.py`. diff --git a/SKILL.md b/SKILL.md index e8a5a92..b3ead3d 100644 --- a/SKILL.md +++ b/SKILL.md @@ -81,7 +81,6 @@ firefly budget delete --yes # --yes required, no prompt firefly budget limit-list firefly budget limit-set --amount N [--start YYYY-MM-DD] [--end YYYY-MM-DD] [--currency CODE] # default period: current month -firefly tx add ... --budget # assign a budget (must already exist) ``` Global: `--human` (tables, do not use when parsing), `--url`/`--token` -- cgit v1.2.3