Skip to content

Instantly share code, notes, and snippets.

@bniedermeyer
Created February 26, 2019 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bniedermeyer/8fbb9744ed918e214c59749abcaf78e0 to your computer and use it in GitHub Desktop.
Save bniedermeyer/8fbb9744ed918e214c59749abcaf78e0 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/schema",
"id": "my-awesome-schematic",
"title": "My awesome schematic",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"path": {
"type": "string",
"default": "./files",
"description": "The location you want your files created",
"x-prompt": "Where would you like your files setup?"
},
"moduleName": {
"type": "string",
"description": "The module the changes should be made to",
"x-prompt": "Which module would you like updated?"
}
},
"required": ["moduleName"],
"additionalProperties": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment