1
1
TCL.Template
2
2
------------
3
+
4
+
5
+
6
+
3
7
### Synopsis
4
8
TCL/TK Template Transpiler.
5
9
10
+
11
+
6
12
---
13
+
14
+
7
15
### Description
8
16
9
17
Allows PipeScript to generate TCL or TK.
@@ -26,7 +34,11 @@ Uncommented lines between these two points will be ignored
26
34
# }
27
35
~~~
28
36
37
+
38
+
29
39
---
40
+
41
+
30
42
### Examples
31
43
#### EXAMPLE 1
32
44
``` PowerShell
@@ -47,82 +59,82 @@ Uncommented lines between these two points will be ignored
47
59
}
48
60
49
61
Invoke-PipeScript .\HelloWorld.ps1.tcl
62
+
63
+
50
64
---
65
+
66
+
51
67
### Parameters
52
68
#### ** CommandInfo**
53
69
54
70
The command information. This will include the path to the file.
55
71
56
72
57
73
58
- > ** Type** : ``` [CommandInfo] ```
59
74
60
- > ** Required** : true
61
75
62
- > ** Position** : named
63
76
64
- > ** PipelineInput** : true (ByValue)
77
+ | Type | Required| Position| PipelineInput |
78
+ | ---------------| --------| --------| --------------|
79
+ | ` [CommandInfo] ` | true | named | true (ByValue)|
65
80
66
81
67
82
68
- ---
69
83
#### ** AsTemplateObject**
70
84
71
85
If set, will return the information required to dynamically apply this template to any text.
72
86
73
87
74
88
75
- > ** Type** : ``` [Switch] ```
76
89
77
- > ** Required** : true
78
90
79
- > ** Position** : named
80
91
81
- > ** PipelineInput** : false
92
+ | Type | Required| Position| PipelineInput|
93
+ | ----------| --------| --------| -------------|
94
+ | ` [Switch] ` | true | named | false |
82
95
83
96
84
97
85
- ---
86
98
#### ** Parameter**
87
99
88
100
A dictionary of parameters.
89
101
90
102
91
103
92
- > ** Type** : ``` [IDictionary] ```
93
104
94
- > ** Required** : false
95
105
96
- > ** Position** : named
97
106
98
- > ** PipelineInput** : false
107
+ | Type | Required| Position| PipelineInput|
108
+ | ---------------| --------| --------| -------------|
109
+ | ` [IDictionary] ` | false | named | false |
99
110
100
111
101
112
102
- ---
103
113
#### ** ArgumentList**
104
114
105
115
A list of arguments.
106
116
107
117
108
118
109
- > ** Type** : ``` [PSObject[]] ```
110
119
111
- > ** Required** : false
112
120
113
- > ** Position** : named
114
121
115
- > ** PipelineInput** : false
122
+ | Type | Required| Position| PipelineInput|
123
+ | --------------| --------| --------| -------------|
124
+ | ` [PSObject[]] ` | false | named | false |
125
+
126
+
116
127
117
128
118
129
119
130
---
131
+
132
+
120
133
### Syntax
121
134
``` PowerShell
122
135
TCL.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
123
136
```
124
137
``` PowerShell
125
138
TCL.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
126
139
```
127
- ---
128
140
0 commit comments