Skip to content

Commit be65dea

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 956d9ab commit be65dea

1 file changed

Lines changed: 32 additions & 20 deletions

File tree

docs/OpenSCAD.Template.md

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
OpenSCAD.Template
22
-----------------
3+
4+
5+
6+
37
### Synopsis
48
OpenSCAD Template Transpiler.
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Allows PipeScript to generate OpenSCAD.
@@ -19,7 +27,11 @@ The OpenSCAD Inline Transpiler will consider the following syntax to be empty:
1927
* ```"[^"]+"```
2028
* ```[\d\.]+```
2129

30+
31+
2232
---
33+
34+
2335
### Examples
2436
#### EXAMPLE 1
2537
```PowerShell
@@ -43,82 +55,82 @@ circle(Size);
4355
}
4456

4557
.> .\RandomShapeAndSize.ps1.scad
58+
59+
4660
---
61+
62+
4763
### Parameters
4864
#### **CommandInfo**
4965

5066
The command information. This will include the path to the file.
5167

5268

5369

54-
> **Type**: ```[CommandInfo]```
5570

56-
> **Required**: true
5771

58-
> **Position**: named
5972

60-
> **PipelineInput**:true (ByValue)
73+
|Type |Required|Position|PipelineInput |
74+
|---------------|--------|--------|--------------|
75+
|`[CommandInfo]`|true |named |true (ByValue)|
6176

6277

6378

64-
---
6579
#### **AsTemplateObject**
6680

6781
If set, will return the information required to dynamically apply this template to any text.
6882

6983

7084

71-
> **Type**: ```[Switch]```
7285

73-
> **Required**: true
7486

75-
> **Position**: named
7687

77-
> **PipelineInput**:false
88+
|Type |Required|Position|PipelineInput|
89+
|----------|--------|--------|-------------|
90+
|`[Switch]`|true |named |false |
7891

7992

8093

81-
---
8294
#### **Parameter**
8395

8496
A dictionary of parameters.
8597

8698

8799

88-
> **Type**: ```[IDictionary]```
89100

90-
> **Required**: false
91101

92-
> **Position**: named
93102

94-
> **PipelineInput**:false
103+
|Type |Required|Position|PipelineInput|
104+
|---------------|--------|--------|-------------|
105+
|`[IDictionary]`|false |named |false |
95106

96107

97108

98-
---
99109
#### **ArgumentList**
100110

101111
A list of arguments.
102112

103113

104114

105-
> **Type**: ```[PSObject[]]```
106115

107-
> **Required**: false
108116

109-
> **Position**: named
110117

111-
> **PipelineInput**:false
118+
|Type |Required|Position|PipelineInput|
119+
|--------------|--------|--------|-------------|
120+
|`[PSObject[]]`|false |named |false |
121+
122+
112123

113124

114125

115126
---
127+
128+
116129
### Syntax
117130
```PowerShell
118131
OpenSCAD.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
119132
```
120133
```PowerShell
121134
OpenSCAD.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
122135
```
123-
---
124136

0 commit comments

Comments
 (0)