fold

Folders as files.

fold — pack a directory of text files into one markdown file usage fold <dir> # → <dir>.folded.md unfold <file.folded.md> # → <dir>/ options -o <path> custom output path -f overwrite if output exists install curl -sSL fold.dom.vin/skill | bash
notes/ ├── monday.md ├── tuesday.md └── summary.md
<!--fold:xk9@file path="monday.md"--> # Monday Team standup. Shipped the new parser. <!--fold:xk9@end--> <!--fold:xk9@file path="tuesday.md"--> # Tuesday Deploy day. Three PRs merged. <!--fold:xk9@end--> <!--fold:xk9@file path="summary.md"--> # Summary Good week. Velocity up. <!--fold:xk9@end-->