aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md2
1 files changed, 1 insertions, 1 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`.