diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-03 18:23:53 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-03 18:23:53 +0200 |
| commit | 2f768bb3373105e96d0cbc6fb4ba37c777bbca25 (patch) | |
| tree | 0b52e6594f669fe12601e4bbc902932699c42c91 | |
| parent | 8dac1b75de09c034cae659b5ce787ef9a072314c (diff) | |
| download | firefly-cli-2f768bb3373105e96d0cbc6fb4ba37c777bbca25.tar.gz firefly-cli-2f768bb3373105e96d0cbc6fb4ba37c777bbca25.zip | |
docs: fix budget example in CLAUDE.md, drop dup --budget line in SKILL.md
| -rw-r--r-- | CLAUDE.md | 2 | ||||
| -rw-r--r-- | SKILL.md | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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`. @@ -81,7 +81,6 @@ firefly budget delete <name|id> --yes # --yes required, no prompt firefly budget limit-list <name|id> firefly budget limit-set <name|id> --amount N [--start YYYY-MM-DD] [--end YYYY-MM-DD] [--currency CODE] # default period: current month -firefly tx add ... --budget <name|id> # assign a budget (must already exist) ``` Global: `--human` (tables, do not use when parsing), `--url`/`--token` |
