Jakarta Commons CLI provides an API to create rules regarding the structure of the options that a command line application requires. It also provides different styles of parsers to parse the actual command line arguments received.