(cmd *cobra.Command, w io.Writer, info *TemplateInformation)
| 155 | } |
| 156 | |
| 157 | func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, info *TemplateInformation) error { |
| 158 | cmd.InitDefaultHelpCmd() |
| 159 | cmd.InitDefaultHelpFlag() |
| 160 | |
| 161 | t := template.Must(template.New("documentation-template").Parse(documentationTemplate)) |
| 162 | return t.Execute(w, info) |
| 163 | } |
| 164 | |
| 165 | func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, relativeBasePath string, positionCounter *int, pageCollection *PageCollection) error { |
| 166 | myPosition := *positionCounter |
no outgoing calls
no test coverage detected