03-powershell-module/.template.config/template.json
{
"$schema": "http://json.schemastore.org/template", //Template Information "author": "Justin Grote", "classifications": [ "Powershell Module", "Sample" ], "name": "Powershell Script Module", "description": "A standard powershell script module and related scaffolding", "identity": "03-PSScriptModule", "groupIdentity": "Mortar", "shortName": "psmodulescript", // You can create the project using this short name instead of the one above. "tags": { "language": "PowerShell", "type": "project" }, //Basic Template Settings "sourceName": "ModuleName", // Will replace the string 'MyProject.StarterWeb' with the value provided via -n. "preferNameDirectory": false, "placeholderFilename": ".templatekeep", //Template Substitutions "guids": [ "DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD" ], //Template Parameters "symbols": { "Author": { "type": "parameter", "datatype": "text", "isRequired": true, "description": "Who is the author of this module?", "replaces": "PROJECT-AUTHOR" }, "Company": { "type": "parameter", "datatype": "text", "isRequired": false, "description": "What is the name of the company that publishes this module?", "defaultValue": "Unknown", "replaces": "PROJECT-COMPANY" } } } |