GenYaml creates yaml output.
(cmd *cobra.Command, w io.Writer)
| 86 | |
| 87 | // GenYaml creates yaml output. |
| 88 | func GenYaml(cmd *cobra.Command, w io.Writer) error { |
| 89 | return GenYamlCustom(cmd, w, func(s string) string { return s }) |
| 90 | } |
| 91 | |
| 92 | // GenYamlCustom creates custom yaml output. |
| 93 | func GenYamlCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error { |