There are lots of commandline parsing libraries available in Java. I suggest taking a look at the following ones as a learning exercise (which seems to be the aim of this project):<p><a href="https:&#x2F;&#x2F;commons.apache.org&#x2F;proper&#x2F;commons-cli&#x2F;" rel="nofollow">https:&#x2F;&#x2F;commons.apache.org&#x2F;proper&#x2F;commons-cli&#x2F;</a> (one of the oldest and most widely used parsers, supports various styles).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;airlift&#x2F;airline" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;airlift&#x2F;airline</a> (Git-style commandline parser)