Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically replace example output in Markdown #6

Open
zupo opened this issue Nov 22, 2022 · 1 comment
Open

Automatically replace example output in Markdown #6

zupo opened this issue Nov 22, 2022 · 1 comment

Comments

@zupo
Copy link
Contributor

zupo commented Nov 22, 2022

Current workflow:

  1. Do some changes in my CLI program.
  2. Run tesh to see what output changed where.
  3. Manually fix the expected output in shell session examples.

Ideal workflow:

  1. Do some changes in my CLI program.
  2. Run tesh --replace replaces the expected output in shell session examples with actual output.
  3. No need for manual copy/pasting changes. Use git diff to review if changes make sense.
@zupo
Copy link
Contributor Author

zupo commented Nov 22, 2022

No idea how to handle ... inline / multiline ignores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant