@@ -153,13 +153,18 @@ Type: string
153
153
Required : false
154
154
Position : 0
155
155
` ` `
156
+
156
157
## Options
158
+
157
159
### -o, --output-format
160
+
158
161
<a id="-o"></a>
159
162
<a id="--output-format"></a>
163
+
160
164
Defines the output format for the command. By default, when run in an interactive terminal, the
161
165
command outputs a human-readable table. When run non-interactively or when the output is
162
166
redirected, the command outputs JSON.
167
+
163
168
` ` ` yaml
164
169
Type : string
165
170
Mandatory : false
@@ -168,26 +173,35 @@ ValidValues: [json, pretty-json, yaml, table-no-truncate]
168
173
LongSyntax : --output-format <FORMAT>
169
174
ShortSyntax : -o <FORMAT>
170
175
` ` `
176
+
171
177
### -h, --help
178
+
172
179
<a id="-h"></a>
173
180
<a id="--help"></a>
181
+
174
182
Displays the help for the current command. When you specify this option, the application ignores
175
183
all other options and arguments.
184
+
176
185
` ` ` yaml
177
186
Type : boolean
178
187
Mandatory : false
179
188
LongSyntax : --help
180
189
ShortSyntax : -h
181
190
` ` `
191
+
182
192
## Output
193
+
183
194
The command returns information about DSC functions. The output includes:
195
+
184
196
- **name** - The name of the function
185
197
- **category** - The category the function belongs to (Logical, Numeric, String, Array, System, Resource)
186
198
- **description** - A description of what the function does
187
199
- **minArgs** - The minimum number of arguments the function accepts
188
200
- **maxArgs** - The maximum number of arguments the function accepts
189
201
- **acceptedArgTypes** - The types of arguments the function accepts
202
+
190
203
### Argument Types
204
+
191
205
The ` acceptedArgTypes` field uses the following abbreviations in table format:
192
206
193
207
- **a** - Array
@@ -198,4 +212,4 @@ The `acceptedArgTypes` field uses the following abbreviations in table format:
198
212
- **-** - No specific type (any type accepted)
199
213
200
214
When multiple types are accepted, multiple letters are shown. For example, `sn` means the function
201
- accepts both String and Number arguments.
215
+ accepts both String and Number arguments.
0 commit comments