private HelpBlock getHelp() {
    HelpBlock root = new HelpBlock();
    commands.keySet().stream().sorted().map(commands::get).forEach(method -> root
        .addChild(getHelp(method.getDeclaredAnnotation(CliCommand.class), null, null)));

    return root;
  }
get help string for a specific command, or a brief description of all the commands if buffer is
null or empty
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/help/Helper.java