You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralph LeVan (JIRA)" <ji...@apache.org> on 2015/07/15 23:07:04 UTC
[jira] [Created] (CLI-256) Configure Options from usage statement
Ralph LeVan created CLI-256:
-------------------------------
Summary: Configure Options from usage statement
Key: CLI-256
URL: https://issues.apache.org/jira/browse/CLI-256
Project: Commons CLI
Issue Type: Improvement
Components: Options definition
Reporter: Ralph LeVan
Priority: Minor
I wrote a layer on top of JSAP to configure its parser from a simple usage statement. I tried to push that code back to the developer, with no success. I'd like to see that code get into production somewhere so I can stop using my private fork.
For JSAP, configuration turned into this:
SimplerJSAP jsap = new SimplerJSAP("dbname [--taglist<String>] [--alternativeTagpaths<File>]");
JSAPResult config = jsap.parse(args);
This is much simpler and much much more readable than the JSAP code and it looks to me like the CLI version is just as complicated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)