You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah that's a reasonable addition. It seems simpler to me to have it be the default behavior rather than a flag, unless you know of use cases where people wouldn't want that behavior.
I took a quick look at your change. Feel free to open a PR and we can get this merged/published.
When using the parameter
-output
with a template likedoc/{{.Dir}}/README.md
, the cli returns an error if the folder doesn't exist.Maybe the cli should automatically create the folder or it could be a new flag
-create-dirs
.I have already made a fork for it. If it is accepted, I will open a PR:
https://github.com/michaelmass/gomarkdoc/commit/b868c0fc4a6a07512eaf94f072f4325ba6efc709
The text was updated successfully, but these errors were encountered: