I’ve recently needed to do some command line parsing. Instead of reinventing the wheel, I looked at the Apache Commons CLI library. This library seemed to do exactly what I wanted and was fairly easy to use.
One question though? Why does the standard Java runtime not have classes to deal with CLI arguments?