diff options
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 2 |
1 files changed, 1 insertions, 1 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`. |
