GenReST creates reStructured Text output.
(cmd *cobra.Command, w io.Writer)
| 55 | |
| 56 | // GenReST creates reStructured Text output. |
| 57 | func GenReST(cmd *cobra.Command, w io.Writer) error { |
| 58 | return GenReSTCustom(cmd, w, defaultLinkHandler) |
| 59 | } |
| 60 | |
| 61 | // GenReSTCustom creates custom reStructured Text output. |
| 62 | func GenReSTCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string, string) string) error { |