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