The Apache Commons CLI are the components of the Apache Commons which are derived from Java API and provides an API to parse command line arguments/options passed to the programs. This API also enables to print help related to options available. This tutorial covers most of the topics required for a basic understanding of Apache Commons CLI and to get a feel of how it works.