[JIRA] Commented: (MDA-39) Improve Command Line Interface
Ian Young (JIRA)
noreply at shibboleth.net
Fri Mar 23 16:05:16 GMT 2012
[ https://issues.shibboleth.net/jira/browse/MDA-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970#comment-13970 ]
Ian Young commented on MDA-39:
------------------------------
Added a basic command line parser based on jargs in rev 202. This handles the help option and the logging options.
For now, I have left this as backwards-compatible with the old system, i.e., the spring configuration file and pipeline bean name are taken from the arguments remaining after options have been parsed out. We can change this to require explicit option names rather than making them positional arguments if necessary, but I don't see an advantage.
Unfortunately it doesn't look like jargs supports multi-valued options, so it's not obvious to me how you'd build something like a "define" option even in principle. Any ideas, or should we just shelve this for now?
> Improve Command Line Interface
> ------------------------------
>
> Key: MDA-39
> URL: https://issues.shibboleth.net/jira/browse/MDA-39
> Project: Metadata Aggregator
> Issue Type: Improvement
> Components: Command Line
> Affects Versions: 0.6
> Reporter: Chad La Joie
> Assignee: Ian Young
>
> To date the command line has been very simplistic, improve it in the following ways:
> * provide a help command that outputs the parameters supported by the CLI
> * allow Spring environment variables, which may then be used in the config files, to be set on the command line
> * allow for silent and verbose logging options
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list