I want to express below data via CLI parameters:
[
{
taskName: "preProcessMarkup",
entryPointsGroups: [ "open", "admin", "emails" ]
},
{
taskName: "preProcessStyles",
entryPointsGroups: [ "open", "admin" ]
}
]
It would be something like:
builder buildProject --taskName preProcessMarkup // ... here goes the
// related with task "preProcessMarkup"
Please teach me the correct syntax or suggest the alternatives.
Notes
- This question not about how to parse commands. This question about how to write commands.
- My application is being written by Node.js. I don't know how far CLI syntax is unified.