tesh
tesh copied to clipboard
Automatically replace example output in Markdown
Current workflow:
- Do some changes in my CLI program.
- Run
teshto 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 --replacereplaces the expected output in shell session examples with actual output. - No need for manual copy/pasting changes. Use
git diffto review if changes make sense.
No idea how to handle ... inline / multiline ignores.