spgroup / groundhog

A framework for crawling GitHub projects and raw data and to extract metrics from them
http://spgroup.github.io/groundhog
GNU General Public License v2.0
15 stars 10 forks source link

Improve the Options parser #9

Closed rodrigoalvesvieira closed 11 years ago

rodrigoalvesvieira commented 11 years ago

We should study how good our current command-line options parser is and what could be done to make it better.

Right now, Groundhog uses the args4j 1 parser. Flavio (the initial author of the project) has - however - pointed out that a better solution exists and might better suit our needs. It is called Jcommander 2.

I think we should consider this issue as soon as possible for we know that Groundhog is an evolving project and the number of options supported by the program is increasing. We should always try to make the tool reliable and easy to maintain.

rodrigoalvesvieira commented 11 years ago

I did some web search to really study the idea of changing the command-line options parser and found this 1 and this 2 which indicates me that args4j is better than jcommander for some things and that jcommander has no feature lacking in args4j that we need. So I'm closing this since now this change does not sound reasonable to me. If we ever run into problems with the current parser (args4j) than we will reconsider this issue.

fernandocastor commented 11 years ago

Agreed.