Expand description
kinjo is built from three deliberately decoupled parts:
discoveryproduces entries (mDNS today, swappable behind thediscovery::Discoverytrait),plumberis the rules engine that matches entries and runs commands (behind theplumber::RuleEnginetrait),uities them together for a person at the terminal.
run is the composition root that wires the parts together; the kinjo
binary is a thin wrapper around it. Exposing these modules as a library also
lets the fuzz/ targets exercise the discovery and parser code directly.
Modules§
- discovery
- Discovery: the producer of
Entryvalues. - plumber
- ui
- UI: ties discovery and the rules engine together.
Functions§
- run
- Parse CLI arguments, load configuration, and run the TUI — or execute the
list-commandssubcommand. Connects the discovery, plumber, and ui layers.