Expand description
Library surface for the bingle_cli binary.
The binary keeps its command dispatch and process-exiting logic in main.rs, but pure argument
parsers live here so they can be unit tested from the test tree (per CLAUDE.md, tests are kept
out of the source files).
Modules§
- chat
- Argument parsing for the
chatsubcommand. - chat_
receive - Receive path for the
chatcommand: turn an inbound engine message into a printed line and a persisted state change. - chat_
register - First-run registration decision for the
chatcommand. - chat_
repl - Pure pieces of the
chatinteractive REPL: the current recipient, the prompt it renders, and the classification of an input line into an action. The terminal/readline glue and the engine calls live incmd_chat; keeping this logic pure makes the dispatcher unit-testable without IO. - chat_
send - Outbound send + retry for the
chatREPL, built on BingleLocal’s pending-message model. - chat_
state - Bridge between a BingleLocal
--state_fileand thechatcommand’s engine configuration.