How do I parse command line arguments in Java?

前端 未结 19 1660
终归单人心
终归单人心 2020-11-22 00:16

What is a good way of parsing command line arguments in Java?

19条回答
  •  离开以前
    2020-11-22 00:41

    I wrote another one: http://argparse4j.sourceforge.net/

    Argparse4j is a command line argument parser library for Java, based on Python's argparse.

提交回复
热议问题