src/server/cmd/pachctl-doc/main.go
func recursiveBlockQuoteExamples(parent *cobra.Command) {
	if parent.Example != "" {
		parent.Example = fmt.Sprintf("```sh\n%s\n```", parent.Example)
	}

	for _, cmd := range parent.Commands() {
		recursiveBlockQuoteExamples(cmd)
	}
}
func recursiveBlockQuoteExamples(parent *cobra.Command) {
	if parent.Example != "" {
		parent.Example = fmt.Sprintf("```sh\n%s\n```", parent.Example)
	}

	for _, cmd := range parent.Commands() {
		recursiveBlockQuoteExamples(cmd)
	}
}
// Walk the command tree, wrap any examples in a block-quote with shell highlighting