Templates/Enum/plasterManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<plasterManifest schemaVersion="1.0" xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1"> <metadata> <name>Enum</name> <id>52746f4d-8270-4e0b-8bd8-a8a5e9619a6b</id> <version>0.0.1</version> <title>Enum Template</title> <description>A template to add an Enum to a Sampler Project</description> <author>Gael Colas</author> <tags>Sampler,Template, Build, Module</tags> </metadata> <parameters> <parameter store="text" name="EnumName" type="text" prompt="Name of your Enum?" default="Stuff" /> <parameter store="text" name="SourceDirectory" type="text" prompt="What is your source folder?" default="source" /> </parameters> <!-- ${PLASTER_PARAM_SourceDirectory} ${PLASTER_PARAM_EnumName} --> <content> <!-- MODULES FOLDER SCAFFOLDING --> <!-- SOURCE/Enum Folder --> <file source='' destination='${PLASTER_PARAM_SourceDirectory}/Enum' /> <!-- SOURCE/Enum File --> <templateFile source='Enum.ps1.template' destination='${PLASTER_PARAM_SourceDirectory}/Enum/${PLASTER_PARAM_EnumName}.ps1' /> </content> </plasterManifest> |