JCLILIB (Java Command Line Interface LIBrary) is a small Java library for parsing arguments supplied on the command line. Features include recognizing arguments either by key ("-h"), by key and value ("-f some_file" or "-f=some_file"), or by position (e.g., second argument not attached to a key). Keys may optionally be repeated with multiple arguments. Values may be specified as String, Boolean, Integer, Long or Double. Unused arguments are returned in an array of strings. A static method is provided to parse arguments with glob-style wildcards (such as "*.bak") and return all matching files.
Be the first to post a review of JCLILIB!