resources/MoldManifest.json
{ "metadata": { "name": "NewPowerShellModule", // must be simple one word identifier "version": "0.2.0", "title": "New PowerShell Module", // Fancy title "description": "Plaster template for creating the files for a PowerShell module.", // Full description "guid": "0ea601ae-4684-4928-ae27-af1c11d804fc" // Unique GUID created for identity }, "parameters": { "Description": { "Caption": "Module Description", "Message": "What does your module do? Describe in simple words", "Prompt": "Description", "Type": "TEXT", "Default": "ModuleTools Module" // "MANDATORY" will ensure user has to enter info }, "INCLUDEHELP": { "Caption": "Help section", "Message": "Do you want to include Help", "Prompt": "Option", "Default": "Yes", // Can be left blank if you want user to make a choice (no default) "Type": "YESNO", "Choice": { "Yes": "Select YES", "No": "Select No" } }, "EnableGit": { "Caption": "Fruit", "Message": "Your favourite fruit", "Prompt": "Option", "Type": "CHOICE", "Default": "Banana", "Choice": { "Apple": "An apple a day", "Banana": "Banana for scale", "Pear": "It sounds cool", "Tomato": "I am the weird one" } } } } |