Open brainwo opened 4 months ago
I suppose this would be covered by #306? With an environment variable, you could env TEALDEER_PAGE_PATH=/ TEALDEER_PATCH_PATH=/ tldr ...
, or whatever syntax we come up with there. Is there any motivation for a separate option?
I was thinking of a way to easily generate diff
.
diff <(tldr git) <(tldr --original git)
But I guess if we go with only supporting environment variable that would be something like this?
diff <(tldr git) <(TEALDEER_PAGE_PATH=/ tldr git)
To be honest, I think the use case is very niche. Currently, I would prefer to not add extra settings as in your initial suggestion, but we can leave this issue open for some time and see from the reactions if more people would be interested
Perhaps something like
tldr --original git
to render the original file, ortldr --path git
to show where git.md file is located. This is useful when working with a patch.