Skip to content

benjamin538/commandgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

commandgen

since im lazy, i decided to make this tool to not copypaste imports 200 times.

how to use

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

build

as my cli

mvn package

sorry, no graalvm this time

About

simple tool for command generates

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages