Commons Cli 简明教程
Apache Commons CLI Tutorial
Apache Commons CLI 是 Apache Commons 的组件,源自 Java API,并提供了用于解析传递给程序的命令行参数/选项的 API。此 API 还允许打印与可用选项相关的帮助。本教程涵盖了对 Apache Commons CLI 进行基本理解所需的大多数主题,并让您了解它的工作原理。
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 which are passed to the programs. This API also enables to print the 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.