@naxodev/gonx
Version:
Modern Nx plugin to use Go in a Nx workspace
41 lines (40 loc) • 1.08 kB
JSON
{
"$schema": "https://json-schema.org/schema",
"$id": "@naxodev/gonx:application",
"title": "Go application generator options",
"type": "object",
"properties": {
"directory": {
"description": "The directory of the new application.",
"type": "string",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"template": {
"type": "string",
"description": "The template of application.",
"enum": ["standard", "cli", "tui"],
"default": "standard"
},
"tags": {
"type": "string",
"description": "Add tags to the application (used for linting)."
},
"skipFormat": {
"type": "boolean",
"description": "Skip formatting files.",
"default": false,
"x-priority": "internal"
}
},
"required": ["directory"]
}