Skip to content

Commit 469098c

Browse files
author
Friedrich Weinmann
committed
Lots of template stuff
1 parent ee20e78 commit 469098c

File tree

15 files changed

+670
-2
lines changed

15 files changed

+670
-2
lines changed

PSModuleDevelopment/PSModuleDevelopment.psproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<File Build="2" Shared="True" ReferenceFunction="Invoke-Import-PSMDModuleDebug_ps1">functions\moduledebug\Import-PSMDModuleDebug.ps1</File>
4242
<File Build="2" Shared="True" ReferenceFunction="Invoke-Get-PSMDHelpEx_ps1">functions\help\Get-PSMDHelpEx.ps1</File>
4343
<File Build="2" Shared="True" ReferenceFunction="Invoke-Measure-PSMDCommandEx_ps1">functions\performance\Measure-PSMDCommandEx.ps1</File>
44-
<File Build="2" Shared="False" ReferenceFunction="Invoke-New-PssModuleProject_ps1">functions\utility\New-PssModuleProject.ps1</File>
44+
<File Build="2" Shared="True" ReferenceFunction="Invoke-New-PssModuleProject_ps1">functions\utility\New-PssModuleProject.ps1</File>
4545
<File Build="2">en-us\about_psmoduledevelopment.help.txt</File>
46-
<File Build="2" Shared="False" ReferenceFunction="Invoke-Set-PSMDModulePath_ps1">functions\utility\Set-PSMDModulePath.ps1</File>
46+
<File Build="2" Shared="True" ReferenceFunction="Invoke-Set-PSMDModulePath_ps1">functions\utility\Set-PSMDModulePath.ps1</File>
4747
<File Build="2" Shared="True" ReferenceFunction="Invoke-Get-PSMDWixConfig_ps1">internal\functions\wix\Get-PSMDWixConfig.ps1</File>
4848
<File Build="2" Shared="True" ReferenceFunction="Invoke-Set-PSMDWixConfig_ps1">internal\functions\wix\Set-PSMDWixConfig.ps1</File>
4949
<File Build="2" Shared="True" ReferenceFunction="Invoke-Invoke-PSMDWixBuild_ps1">internal\functions\wix\Invoke-PSMDWixBuild.ps1</File>
@@ -82,6 +82,11 @@
8282
<File Build="2" Shared="True" ReferenceFunction="Invoke-dotNetTemplateCache_ps1">internal\maintenance\dotNetTemplateCache.ps1</File>
8383
<File Build="2" Shared="True" ReferenceFunction="Invoke-dotNetTemplatesInstall_ps1">internal\tabcompletion\scriptblocks\dotNetTemplatesInstall.ps1</File>
8484
<File Build="2" Shared="True" ReferenceFunction="Invoke-New-PSMDModuleNugetPackage_ps1">functions\utility\New-PSMDModuleNugetPackage.ps1</File>
85+
<File Build="2" Shared="True" ReferenceFunction="Invoke-New-PSMDTemplate_ps1">functions\templating\New-PSMDTemplate.ps1</File>
86+
<File Build="2" Shared="True" ReferenceFunction="Invoke-Get-PSMDTemplate_ps1">functions\templating\Get-PSMDTemplate.ps1</File>
87+
<File Build="2" Shared="True" ReferenceFunction="Invoke-Remove-PSMDTemplate_ps1">functions\templating\Remove-PSMDTemplate.ps1</File>
88+
<File Build="2" Shared="True" ReferenceFunction="Invoke-template_ps1">internal\configurations\template.ps1</File>
89+
<File Build="2" Shared="True" ReferenceFunction="Invoke-Invoke-PSMDTemplate_ps1">functions\templating\Invoke-PSMDTemplate.ps1</File>
8590
</Files>
8691
<StartupScript>F:\Synchronized Data\Scripte\Powershell Studio\Projects\PSModuleDevelopment\Test-Module.ps1</StartupScript>
8792
</Project>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
function Get-PSMDTemplate
2+
{
3+
[CmdletBinding()]
4+
Param (
5+
[string]
6+
$TemplateName
7+
)
8+
9+
begin
10+
{
11+
Write-PSFMessage -Level InternalComment -Message "Bound parameters: $($PSBoundParameters.Keys -join ", ")" -Tag 'debug','start','param'
12+
}
13+
process
14+
{
15+
16+
}
17+
end
18+
{
19+
20+
}
21+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
function Invoke-PSMDTemplate
2+
{
3+
[CmdletBinding()]
4+
param (
5+
[string]
6+
$TemplateName,
7+
8+
[string]
9+
$Path,
10+
11+
[string]
12+
$Name,
13+
14+
[switch]
15+
$NoFolder,
16+
17+
[switch]
18+
$Raw
19+
)
20+
21+
begin
22+
{
23+
Write-PSFMessage -Level InternalComment -Message "Bound parameters: $($PSBoundParameters.Keys -join ", ")" -Tag 'debug','start','param'
24+
}
25+
process
26+
{
27+
28+
}
29+
end
30+
{
31+
32+
}
33+
}

0 commit comments

Comments
 (0)