cobra/doc
Daniel Martí eb5040e69e Treat write errors in markdown doc generation
This code was already using io.Writer, but was completely ignoring write
errors.

The most worrying part is how GenMarkdownTreeCustom used an unnecessary
buffer to then dump all of its contents on a file, and instead of
returning an error on file creation/writing, it would just exit the
entire program.
2016-01-06 12:21:04 +01:00
..
cmd_test.go Remove unused outs global var 2016-01-06 11:49:16 +01:00
man_docs_test.go Issue #195: Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00
man_docs.go Issue #195: Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00
man_docs.md Issue #195: Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00
man_examples_test.go Issue #195: Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00
md_docs_test.go Treat write errors in markdown doc generation 2016-01-06 12:21:04 +01:00
md_docs.go Treat write errors in markdown doc generation 2016-01-06 12:21:04 +01:00
md_docs.md Treat write errors in markdown doc generation 2016-01-06 12:21:04 +01:00
util.go Issue #195: Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00