since im lazy, i decided to make this tool to not copypaste imports 200 times.
you need an command.json which structure should be like this:
{
"ClassName": {
"package": "your.package",
"description": "Your very cool description",
"options": {
"veryCoolOption": {
"names": ["-c", "--cool"],
"description": "Very cool option",
"usage-help": false
},
"anotherOption": {
"names": ["-j", "--java"],
"description": "JAVA",
"usage-help": true
}
},
"parameters": {
"veryImportantParameter": {
"description": "ReallyImportant"
}
}
},
"AnotherClassName": {
"package": "another.package",
"description": "EmptyCommand",
"options": {},
"parameters": {}
}
}you should have all this fields and if you dont want like, having option then just keep whole section empty
as my cli
mvn packagesorry, no graalvm this time