File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Automation Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 31
31
$NEW_LINE = " `r`n " ;
32
32
. " $PSScriptRoot \StringProcessingHelper.ps1" ;
33
33
34
- function Generate-ParameterCommandImpl
34
+ function Generate-CliParameterCommandImpl
35
35
{
36
36
param (
37
37
[Parameter (Mandatory = $true )]
@@ -324,11 +324,14 @@ function Generate-ParameterCommandImpl
324
324
{
325
325
if ($null -ne $subNode )
326
326
{
327
- $code += Generate- ParameterCommandImpl $subNode ;
327
+ $code += Generate- CliParameterCommandImpl $subNode ;
328
328
}
329
329
}
330
330
331
331
return $code ;
332
332
}
333
333
334
- Write-Output (Generate- ParameterCommandImpl $CmdletTreeNode );
334
+ if ($ToolType -eq ' CLI' )
335
+ {
336
+ Write-Output (Generate- CliParameterCommandImpl $CmdletTreeNode );
337
+ }
You can’t perform that action at this time.
0 commit comments