You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the[ParameterInfo] source as an example, it would make sense to provide some additional parameters (or all of them) so a Crescendo module author can more completely construct things without additional code.
For example, dealing with parameters that require NoGap be set to $true currently requires something like this to be done:
This commit begins the work of improving the author experience when
accelerating a native command.
This commit exposes all properties off the Command class to the user
via the New-CrescendoCommand cmdlet. Further to exposing all available
properties, an ArgumentCompleter attribute has been introduced to the
Verb parameter to allow for tab completion of PowerShell built-in
approved verbs.
This commit improves the author experience when
accelerating a native command.
This commit exposes all class properties as function
parameters. Where appropriate an argumentcompleter
attribute has been introduced to further enhance
the authoring experience when working with the
Microsoft.PowerShell.Crescendo module.
This commit improves the author experience when
accelerating a native command.
This commit exposes all class properties as function
parameters. Where appropriate an argumentcompleter
attribute has been introduced to further enhance
the authoring experience when working with the
Microsoft.PowerShell.Crescendo module.
Summary of the new feature / enhancement
Based on the[ParameterInfo] source as an example, it would make sense to provide some additional parameters (or all of them) so a Crescendo module author can more completely construct things without additional code.
For example, dealing with parameters that require NoGap be set to $true currently requires something like this to be done:
Proposed technical implementation details (optional)
I propose that class members be added as parameters to available
New-*
functions so Crescendo module authors have less and cleaner code to write.E.g. I'd like to see this work:
I"m happy to help here, if you want to tell me "PRs greatly appreciated!" 😂
The text was updated successfully, but these errors were encountered: