Skip to content

Koettlitz/clom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create a class, that represents your argument structure.
  2. Annotate the fields of that class with @CLArgument/@CLVarArgs and @CLOption
  3. Parse the arguments with the command line to object mapper (CLOM class), e.g.:
    public static void main(String... args) {
        MyArgModel parsedArgs = CLOM.parse(MyArgModel.class, args);
    }
  4. Error handling

About

Java command line to object mapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages