cobra/doc
Daniel Martí 5df1341f93 Treat write errors in man doc generation
Just like the last commit, but now for manpages.

genMan still works with a buffer and returns []byte instead of working
directly with an io.Writer. This is because, in turn, md2man takes byte
slices instead of readers and writers.

Wrapping genMan around a writer is unnecessary especially since it's not
an exported function, and also because we'd still need a buffer to get
the output bytes.
2016-01-06 12:25:27 +01:00
..
cmd_test.go Remove unused outs global var 2016-01-06 11:49:16 +01:00
man_docs.go Treat write errors in man doc generation 2016-01-06 12:25:27 +01:00
man_docs.md Issue : Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00
man_docs_test.go Treat write errors in man doc generation 2016-01-06 12:25:27 +01:00
man_examples_test.go Issue : Move doc generation into separate pkg 2015-12-24 09:01:59 -05: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
md_docs_test.go Treat write errors in markdown doc generation 2016-01-06 12:21:04 +01:00
util.go Issue : Move doc generation into separate pkg 2015-12-24 09:01:59 -05:00