resources/templates/NewModuleProject/plasterManifest_en-US.xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<plasterManifest schemaVersion="1.1" templateType="Item"
    xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1">
    <metadata>
        <name>NewModuleProject</name>
        <id>00146c4d-38c7-4e4d-8910-ef81bb508fdd</id>
        <version>1.0.0</version>
        <title>New PowerShell module project</title>
        <description>Creates a manifest, module, README.md, .gitignore and (MIT) LICENSE file. It will also create a src, test, resources directory.</description>
        <author>Marc Kassay</author>
        <tags>Script,Test</tags>
    </metadata>
    <parameters>
        <!-- Since this template is designed to be called via Install-Template; the parameters for that command will set value for this variable/directive
            So the condition expression set to return false to prevent being prompt.
         -->
        <parameter prompt="Enter the name of the module" type="text" name="Name" default="${PLASTER_PARAM_Name}" condition="0" />
        <!-- 'DestinationPath' isnt used in this file but is here as a dynamic parameter for Install-Template -->
        <parameter prompt="" type="text" name="Destination" default="${PLASTER_PARAM_DestinationPath}" condition="0" />
    </parameters>
    <content>
        <message>
Flow is scaffolding your PowerShell template...
 
        </message>
 
        <file source='' destination='${PLASTER_PARAM_ModuleName}\src'/>
        <file source='' destination='${PLASTER_PARAM_ModuleName}\test'/>
        <file source='' destination='${PLASTER_PARAM_ModuleName}\resources'/>
 
        <templateFile source='parts\README.md' destination='${PLASTER_PARAM_ModuleName}/README.md' />
        <templateFile source='parts\LICENSE' destination='${PLASTER_PARAM_ModuleName}/LICENSE' />
        <templateFile source='parts\Module.psm1' destination='${PLASTER_PARAM_ModuleName}/${PLASTER_PARAM_ModuleName}.psm1' />
        <newModuleManifest destination='${PLASTER_PARAM_ModuleName}/${PLASTER_PARAM_ModuleName}.psd1' moduleVersion='0.0.1' rootModule='${PLASTER_PARAM_ModuleName}.psm1' author='${PLASTER_PARAM_Author}' encoding='UTF8-NoBOM' powerShellVersion ='6.0' />
 
        <message>
 
Scaffolding is completed.
        </message>
    </content>
</plasterManifest>