⌚ Originally posted on 23/4/2015 at 11:21 by @thpar
Use a commandline library like commons CLI http://commons.apache.org/proper/commons-cli/