posener / goreadme

Generate readme file from Go doc. Now available as a Github action!
MIT License
214 stars 32 forks source link

Flag for output destination #100

Open thaney071 opened 3 years ago

thaney071 commented 3 years ago

The only way to make a file using this tool as CLI is to redirect the stdout to a file. It would be helpful to have a flag for where to output the markdown content.

posener commented 3 years ago

Actually, you could also define an environment variable here. But we can override this value with a flag. Do you want to submit a PR?