Closed metaleap closed 11 years ago
BTW I know in the terminal or in shell scripts you can just do godocdown -opt=ion > outfile.md
, but imagine some scenario such as a text-editor's or some build-system's "pre-build commands" feature which does not support piping syntaxes, only "lists of commands with args"... if we put the write-to-file logic right in godocdown as per above, I as a user can stay cross-platform instead of having to wrestle with additional shell scripts or batch scripts etc...
BTW I know in the terminal or in shell scripts you can just do...
You read my mind... :)
I will take a look, thanks.
Awesome, thx!
No problem, thanks. :+1:
Hi, this tool is awesome but I had a minor need --- specifying a target output file name via args-flags. In my local copy I added this to global flag vars:
Then in
func main()
at the very end changed the singlefmt.Printfln(documentation)
to this:Would you consider adding this (or something of this sort) to the tool source? Mainly so if you later on push other updates, I can update godocdown without having to re-apply this very minor but highly useful little customization.. ;)