Automatically replace example output in Markdown
zupo opened this issue · 1 comments
zupo commented
Current workflow:
- Do some changes in my CLI program.
- Run
tesh
to see what output changed where. - Manually fix the expected output in shell session examples.
Ideal workflow:
- Do some changes in my CLI program.
- Run
tesh --replace
replaces the expected output in shell session examples with actual output. - No need for manual copy/pasting changes. Use
git diff
to review if changes make sense.
zupo commented
No idea how to handle ...
inline / multiline ignores.