Are there good Java libraries that facilitate building interactive shell-style applications?
<p>I need to write a simple shell-style application in Java. It would be nice to use a library that takes care of parsing commands and takes care of things like flags and optional/mandatory parameters...</p>

<p>Something that has built-in TAB completion would be particularly great.</p>
