/oss · 1 merged

mvanhorn/cli-printing-press

A tool that generates command-line programs for web APIs, with docs and worked examples for each command.

the project on GitHub (opens in a new tab)
  1. 31 Oct 2026

    Examples with backslashes inside quotes run as written

    What was broken
    Backslashes inside double quotes in an example were dropped, so a search pattern lost its meaning and the checked command was not the one the docs showed.
    What I changed
    A backslash inside double quotes is now kept unless it escapes a character a shell would escape, the same way a shell reads it.
    Why it matters
    Generated docs and their checks now run the exact command a reader would copy.

    see the code, #5284 (opens in a new tab)

← every project