Parsing Java command-line arguments

From Arnout Engelen

Jump to: navigation, search

It'd be nice to have a lib that:

  • automatically generates 'usage' information and nice error messages
  • doesn't require casting and supports sufficient data types
    • strings
    • numbers
    • dates
    • lists
  • supports default values

Haven't found such a lib yet.

Options:

Personal tools