Hi,

I'm currently working on bug 904029, support for POSIX parameters and values
in engine-manage-domains. I think there are two possible solutions:

  1) Write custom parser (similar to EngineConfigCLIParser used for 
engine-config)
  2) Add CLI parsing library to project and use it for all command line clients
     (first implementation could be for engine-manage-domains)

I think 2) is much better approach, but I'm not sure about the process of 
adding new
library to project.

Personally I like JCommander ( http://jcommander.org ), using annotation for 
parameter
specification is great. JCommander is licensed with Apache 2.0 license, so the 
addition
shouldn't be a problem.

So, would it be possible to add JCommander library to project?

Martin Perina


_______________________________________________
Engine-devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to