private static String[] withToolNameArgRemoved(String[] args) {
        if (args.length == 0) {
            throw new IllegalArgumentException("Argument array did not contain a tool name");
        }
        String[] truncatedArgs = new String[args.length - 1];
        System.arraycopy(args, 1, truncatedArgs, 0, truncatedArgs.length);
        return truncatedArgs;
    }
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