1
1
TypeScript.Template
2
2
-------------------
3
+
4
+
5
+
6
+
3
7
### Synopsis
4
8
TypeScript Template Transpiler.
5
9
10
+
11
+
6
12
---
13
+
14
+
7
15
### Description
8
16
9
17
Allows PipeScript to generate TypeScript.
@@ -21,82 +29,82 @@ The TypeScript Inline Transpiler will consider the following syntax to be empty:
21
29
* ``` "" ```
22
30
* ``` '' ```
23
31
32
+
33
+
24
34
---
35
+
36
+
25
37
### Parameters
26
38
#### ** CommandInfo**
27
39
28
40
The command information. This will include the path to the file.
29
41
30
42
31
43
32
- > ** Type** : ``` [CommandInfo] ```
33
44
34
- > ** Required** : true
35
45
36
- > ** Position** : named
37
46
38
- > ** PipelineInput** : true (ByValue)
47
+ | Type | Required| Position| PipelineInput |
48
+ | ---------------| --------| --------| --------------|
49
+ | ` [CommandInfo] ` | true | named | true (ByValue)|
39
50
40
51
41
52
42
- ---
43
53
#### ** AsTemplateObject**
44
54
45
55
If set, will return the information required to dynamically apply this template to any text.
46
56
47
57
48
58
49
- > ** Type** : ``` [Switch] ```
50
59
51
- > ** Required** : true
52
60
53
- > ** Position** : named
54
61
55
- > ** PipelineInput** : false
62
+ | Type | Required| Position| PipelineInput|
63
+ | ----------| --------| --------| -------------|
64
+ | ` [Switch] ` | true | named | false |
56
65
57
66
58
67
59
- ---
60
68
#### ** Parameter**
61
69
62
70
A dictionary of parameters.
63
71
64
72
65
73
66
- > ** Type** : ``` [IDictionary] ```
67
74
68
- > ** Required** : false
69
75
70
- > ** Position** : named
71
76
72
- > ** PipelineInput** : false
77
+ | Type | Required| Position| PipelineInput|
78
+ | ---------------| --------| --------| -------------|
79
+ | ` [IDictionary] ` | false | named | false |
73
80
74
81
75
82
76
- ---
77
83
#### ** ArgumentList**
78
84
79
85
A list of arguments.
80
86
81
87
82
88
83
- > ** Type** : ``` [PSObject[]] ```
84
89
85
- > ** Required** : false
86
90
87
- > ** Position** : named
88
91
89
- > ** PipelineInput** : false
92
+ | Type | Required| Position| PipelineInput|
93
+ | --------------| --------| --------| -------------|
94
+ | ` [PSObject[]] ` | false | named | false |
95
+
96
+
90
97
91
98
92
99
93
100
---
101
+
102
+
94
103
### Syntax
95
104
``` PowerShell
96
105
TypeScript.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
97
106
```
98
107
``` PowerShell
99
108
TypeScript.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
100
109
```
101
- ---
102
110
0 commit comments