Allow -noNewFolder to be specified in the template
sayedihashimi opened this issue · comments
Sayed Ibrahim Hashimi commented
Today the caller is responsible for passing in -noNewFolder
. We should make an update to allow this behavior to be defaulted by the template in the pw-templateInfo
file.This is useful when you're creating a multi-project template.
For example.
$templateInfo = New-Object -TypeName psobject -Property @{
Name = 'template-name'
Type = 'ProjectTemplate'
CreateNewFolder = $false
}
Sayed Ibrahim Hashimi commented
Related to #19
@managedcoder you should add CreateNewFolder = $false
to your template info file. See above
Sayed Ibrahim Hashimi commented
Should work now