Parse command options in Java with commons-cli

Posted by bob on Aug 14, 2021 3:14 AM EDT
Opensource.com; By Seth Kenlon
Mail this story
Print this story

When you enter a command into your terminal, whether it's to launch a GUI app or just a terminal app, there are often options (sometimes called switches or flags) you can use to modify how the application runs. This is a standard set by the POSIX specification, so it's useful for a Java programmer to know how to detect and parse options.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Developer

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.