MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / GenMarkdownCustom

Function GenMarkdownCustom

cmd/gen-docs/main.go:157–163  ·  view source on GitHub ↗
(cmd *cobra.Command, w io.Writer, info *TemplateInformation)

Source from the content-addressed store, hash-verified

155}
156
157func 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
165func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, relativeBasePath string, positionCounter *int, pageCollection *PageCollection) error {
166 myPosition := *positionCounter

Callers 1

GenMarkdownTreeCustomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected