-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ability to detect optionality for each Parameter #68
Conversation
@@ -20,15 +20,18 @@ function global:GetTemplateParameter { | |||
Description = '' | |||
DefaultValue = $Null | |||
AllowedValues = $Null | |||
Required = "Required" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vicperdana Potentially this can be localized as well since it will be part of the output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BernieWhite just to clarify, would this be related to:
$LocalizedData.Required
in line number 238.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vicperdana More suggesting that we Required
now Yes
/ No
can be localized.
So at some point, if someone wants to localize PSDocs.Azure then Yes/ No can be specified in another language.
I've added the suggestion as a commit.
@vicperdana All good 🥇 Nice work. |
PR Summary
Added ability to detect "Required" or "Optional for each parameter. Closes #55
DefaultValue
orAllowedValues
PR Checklist