Documentation
¶
Overview ¶
Command bachs is the Bachs command-line interface.
bachs login --api-key sk_sandbox_... bachs whoami bachs listen --forward-to localhost:3000/webhooks [--events a,b] bachs events replay <evt_id>
A note on flag naming, because this is the point where it is cheap to get right. --events takes event type names and is the only way to select them; there is deliberately no parallel vocabulary for a second kind of event. Stripe grew one (--thin-events, --forward-thin-to, --forward-thin-connect-to) and spent years unwinding it. If Bachs ever ships a second payload shape, it extends --events.
Deliberately dependency-light: stdlib flag rather than a CLI framework. This binary ships to machines we do not control, and the command surface is small enough that a framework would add supply chain for no user-visible gain.