jeudi 30 mars 2017

How should I approach for creating a command-line parser in java?

Hi I want to create my own command-line parser using java. As you might know, the design of this parser can be in a lot of ways.

I found this http://jcommander.org/ but this seems more complex than I hoped.

I have more simple questions like;

  • What kind of data structures can i use to store options and parameters?
  • When I capture the commands, how should I execute them?

Can you give me something more in the starting stage. Can be a class design approach or some little library that you know.

Aucun commentaire:

Enregistrer un commentaire