private void printHelp(Arguments arguments, ColorFormatter colors, CliPrinter printer) {
        String title = StringUtils.isEmpty(parentCommandName) ? name : parentCommandName + " " + name;
        HelpPrinter.fromArguments(title, arguments)
                .summary(summary)
                .documentation(documentationProvider.apply(colors))
                .print(colors, printer);
    }
A {@code CommandAction} that intercepts another action and handles printing -h / --help.
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/HelpActionWrapper.java