You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en-US/about_Plaster_CreatingAManifest.help.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ template. This field is automatically generated if not given a value.
47
47
-`tags` - Tags used to describe the purpose of the template.
48
48
-`author` - (Optional) Authors name or details.
49
49
50
-
An example of the settings explained above can be shown by running `New-PlasterManifest` this would give you something similar to the the following:
50
+
An example of the settings explained above can be shown by running `New-PlasterManifest` this would give you something similar to the following:
51
51
```xml
52
52
<?xml version="1.0" encoding="utf-8"?>
53
53
<plasterManifest
@@ -179,7 +179,7 @@ Choice[0]:
179
179
```
180
180
181
181
### Parameter Type: Other
182
-
The `user-fullname` and `user-email` parameter types are the same as the `text` type, except that they get their default values from from the user's .gitconfig file (if the user has one, and no default is set in the manifest).
182
+
The `user-fullname` and `user-email` parameter types are the same as the `text` type, except that they get their default values from the user's .gitconfig file (if the user has one, and no default is set in the manifest).
183
183
184
184
Here is an example of the XML for this parameter.
185
185
```xml
@@ -195,7 +195,7 @@ Enter your full name (Your Name):
195
195
```
196
196
197
197
## Content
198
-
There are a selection of elements in the `content` block that can be used to specify all of the content that should be included with your template and how it should be created and transformed into the end product that the template provides.
198
+
There is a selection of elements in the `content` block that can be used to specify all of the content that should be included with your template and how it should be created and transformed into the end product that the template provides.
199
199
200
200
The available element types are:
201
201
-`file` - Specify one or more files to copy under the destination folder.
@@ -311,7 +311,7 @@ Available attributes for this content element are:
311
311
-`condition` - Used to determine whether a directive is executed. If the condition (a PowerShell expression) evaluates to true, it will execute.
312
312
-`openInEditor` - Specifies whether the file should be opened in the editor (true) after scaffolding or not (false). The PowerShell extension for Visual Studio Code honors this setting.
313
313
314
-
Here is a simple example of the modify element, using a regular expressions:
314
+
Here is a simple example of the modify element, using a regular expression:
315
315
316
316
```xml
317
317
<modifypath='.vscode\tasks.json'encoding='UTF8'
@@ -361,7 +361,7 @@ Available attributes for this content element:
361
361
-`minimumVersion` - The required module's minimum version.
362
362
-`maximumVersion` - The required module's maximum version.
363
363
-`requiredVersion` - Specifies a specific version of the module. This attribute cannot be used with either the `minimumVersion` or `maximumVersion` attributes. Use this attribute rarely as any update to the module that changes its version will result in this check failing.
364
-
-`message` - Specifies a custom message to display after the standard Plaster message when the specified module's is not available on the target machine. This message should be used to tell the user what functionality will not work without the specified module.
364
+
-`message` - Specifies a custom message to display after the standard Plaster message when the specified module is not available on the target machine. This message should be used to tell the user what functionality will not work without the specified module.
365
365
-`condition` - Used to determine whether a directive is executed. If the condition (a PowerShell expression) evaluates to true, it will execute.
366
366
367
367
#### NOTE: All versions in this element should be specified in the three part MAJOR.MINOR.PATCH (Semver) format.
@@ -407,7 +407,7 @@ In addition to these variables, Plaster defines a set of built-in variables:
407
407
408
408
- PLASTER_TemplatePath - The absolute path to the template directory.
409
409
- PLASTER_DestinationPath - The absolute path to the destination directory.
410
-
- PLASTER_DestinationName - The name of the destinaion directory.
410
+
- PLASTER_DestinationName - The name of the destination directory.
411
411
- PLASTER_FileContent - The contents of a file be modified via the `<modify>` directive.
412
412
- PLASTER_DirSepChar - The directory separator char for the platform.
413
413
- PLASTER_HostName - The PowerShell host name e.g. $Host.Name
0 commit comments