Task: Implement CLI list/add/remove commands for book
This page documents a task in the Commission: book story. It captures the goal, current status, acceptance, and any notes or results.
Goal
Create the CLI support for book in projects/ores.cli — options header and source, entity parser, and wire up list/add/remove subcommands — mirroring the pattern of add_country_options and add_currency_options so book is manageable from the command line.
Status
| Field | Value |
|---|---|
| State | ABANDONED |
| Parent story | Commission: book |
| Now | Superseded. |
| Waiting on | Nothing. |
| Next | Nothing — covered by the CLI top-level commissioning story. |
| Last touched | 2026-07-07 |
Acceptance
- add_book_options.hpp/cpp added to ores.cli.
- books_parser.cpp added to entity_parsers/.
- list subcommand implemented and working.
- add subcommand implemented and working.
- remove subcommand implemented and working.
- All subcommands call the service via NATS (not direct repository access).
Plan
(Implementation strategy. Written when work starts; key decisions
are distilled into the parent story's * Decisions at close, but the
plan itself stays — it is the historical record of what we did.)
Notes
Abandoned in favour of the "CLI commands — top-level commissioning
story" capture (doc/agile/product_backlog/inbox/cli_commands_codegen_top_level_story.org,
id 469958E3-B249-4D4C-95A9-E7CDB703F0C0), which explicitly supersedes
per-commission CLI tasks: ores.cli has no codegen profile, and CLI
commands should be established/templatized once as a horizontal layer
rather than hand-written per entity as this task would have done. No
CLI code was written for book.
PRs
| PR | Title |
|---|---|
Review
| Comment summary | File | Decision | Notes |
|---|---|---|---|