Java GetOpt Generator is a tool that generates a command-line argument parser from an XML file. Both a "parser" and "config" class are generated, which allows your program to either be launched from the command-line or programmatically configured and executed from another Java application. GetOpt Generator is self-hosting, meaning that it uses itself to generate its command-line parser.