Skip to content

Commit

Permalink
feat: Fixing PSModuleInfo.GetDynamicParameters (Fixes #638)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Nov 12, 2023
1 parent 0b55312 commit 3cc2792
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Types/PSModuleInfo/GetDynamicParameters.ps.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<#
.SYNOPSIS
Gets dynamic parameters
.DESCRIPTION
Gets dynamic parameters for a command
#>
param(
$InvocationName,

[Collections.IDictionary]
$DyanmicParameterOption = [Ordered]@{
ParameterSetName='__AllParameterSets'
NoMandatory = $true
}
)

$this.ExtensionsOf($InvocationName) |
Aspect.DynamicParameter @DyanmicParameterOption

0 comments on commit 3cc2792

Please sign in to comment.