package wand import "io" func formatMarkdown(out io.Writer, doc doc, level int) error { // if no subcommands, then similar to help // otherwise: // title // all commands return nil }