- Create a class, that represents your argument structure.
- Annotate the fields of that class with
@CLArgument
/@CLVarArgs
and@CLOption
- 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); }
- Error handling
-
Notifications
You must be signed in to change notification settings - Fork 0
Java command line to object mapper
License
Koettlitz/clom
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java command line to object mapper
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published