@necord/schematics
Version:
A collection of schematics for Necord projects with NestJS
44 lines (43 loc) • 923 B
JSON
{
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Command name",
"x-prompt": "What is the command name?"
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the service."
},
"sourceRoot": {
"type": "string",
"description": "Nest service source root directory."
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a directory is created.",
"x-prompt": "Create a directory?"
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated.",
"x-prompt": "Generate spec file as well?"
},
"context-menu-type": {
"type": "string",
"description": "The type of context menu to create.",
"enum": [
"message",
"user"
],
"x-prompt": "What type you want to use?"
}
},
"required": [
"strategy"
]
}