Templates/PowerShellUniversalWorkflow/plasterManifest.xml
|
<?xml version="1.0" encoding="utf-8"?>
<plasterManifest schemaVersion="1.2" templateType="Project" xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1"> <metadata> <name>PowerShellUniversalWorkflow</name> <id>996293b0-d681-46a1-a189-9d0ce5de0b0d</id> <version>1.0.0</version> <title>PowerShell Universal Workflow Module</title> <description>A PowerShell Universal module with a workflow and supporting script command.</description> <author>PowerShellUniversal.Plaster</author> <tags>PowerShellUniversal,Workflow</tags> </metadata> <parameters> <parameter name="ModuleName" type="text" prompt="Enter the full module name (e.g., PowerShellUniversal.Workflows.MyWorkflow)"/> <parameter name="WorkflowName" type="text" prompt="Enter a PascalCase workflow name (e.g., Example)" default="Example"/> <parameter name="Description" type="text" prompt="Enter a brief description" default="A PowerShell Universal workflow module"/> <parameter name="Author" type="user-fullname" prompt="Enter the author name" default="${PLASTER_PARAM_Author}"/> <parameter name="Version" type="text" prompt="Enter the version number" default="1.0.0"/> </parameters> <content> <templateFile source="template.psd1" destination="${PLASTER_PARAM_ModuleName}\${PLASTER_PARAM_ModuleName}.psd1"/> <templateFile source="template.psm1" destination="${PLASTER_PARAM_ModuleName}\${PLASTER_PARAM_ModuleName}.psm1"/> <templateFile source="public\Invoke-Workflow.ps1" destination="${PLASTER_PARAM_ModuleName}\public\Invoke-${PLASTER_PARAM_WorkflowName}.ps1"/> <templateFile source=".universal\scripts.ps1" destination="${PLASTER_PARAM_ModuleName}\.universal\scripts.ps1"/> <templateFile source=".universal\workflows.ps1" destination="${PLASTER_PARAM_ModuleName}\.universal\workflows.ps1"/> <file source="" destination="${PLASTER_PARAM_ModuleName}\private\.gitkeep"/> <templateFile source="README.md" destination="${PLASTER_PARAM_ModuleName}\README.md"/> <message> Created workflow module '${PLASTER_PARAM_ModuleName}'. Next steps: 1. Import the module in PowerShell Universal. 2. Register scripts and workflows using the generated .universal configuration. 3. Replace the sample activity and command implementation with your workflow logic. </message> </content> </plasterManifest> |