π Introduction
cli-shot takes automatic screenshots of interactive terminal CLIs, one PNG per screen.
cli-shot points at a CLI, asks which screens it has, opens each one, and writes a PNG per screen β no per-project script, no hand-maintained keystroke table, no window captures that go stale the moment the UI moves.
What's here
- π Usage β the
cli-shotbinary, its flags, and worked examples - π The contract β the three flags a CLI must implement to be shootable
- βοΈ How it works β the capture pipeline, why terminal emulation matters, and where it can't help
- π¦ Library API β using cli-shot programmatically instead of via the binary