-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
- Command that creates aliases for commands. Automating these: Write.Html.pq
- validate aliases output for accidental identifier collisions Validate all files using PowerQuery parser #8
in [1]:
New-PqLibFunctionAlias -Name 'B' -Value 'Write.Html.Bold'out[1]:
B = Write.Html.Bold
in [2]:
> New-PqLibFunctionAlias @(
@{ Name = 'UL' ; Value = 'Write.Html.UnorderedList' }
@{ Name = 'P' ; Value = 'Write.Html.Paragraph' }
)out[2]:
UL = Write.Html.UnorderedList,
P = Write.Html.Paragraph
Original Example to Automate
// optional aliases
Tag = Write.Html.Element,
P = Write.Html.Paragraph,
B = Write.Html.Bold,
UL = Write.Html.UnorderedList