private static Optional<Tool> toolFromCliArgs(String[] args) {
        if (args.length == 0) {
            return Optional.empty();
        }
        String toolName = args[0];
        return TOOLS.stream().filter(t -> t.name().equals(toolName)).findFirst();
    }
Primary application entry point for security utility tools. Handles tool selection,
CLI argument parsing and exception printing.

Based on previous vespa-security-env tool.

@author vekterli
@author bjorncs
vespaclient-java/src/main/java/com/yahoo/vespa/security/tool/Main.java