Skip to content

Commit c335b01

Browse files
author
James Brundage
committed
docs: Updating SupportedLanguages doc to be Language Readme
1 parent 477898c commit c335b01

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

en-us/SupportedLanguages.help.ps.txt

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
These are all of the transpilers currently included in PipeScript:
2-
3-
41
~~~PipeScript{
5-
[PSCustomObject]@{
6-
Table = Get-Transpiler |
7-
Where-Object {
8-
$_.Parameters.Values |
9-
Where-Object { $_.ParameterType -eq [Management.Automation.CommandInfo] }
10-
} |
11-
Sort-Object Name |
12-
Select-Object @{
13-
Name='Language'
14-
Expression= {
15-
"[$($_.DisplayName -replace '^Inline\.')]($($_.Source -replace '^.+(?=Transpilers)'))" -replace '\\', '/'
16-
}
17-
}, @{
18-
Name='Synopsis'
19-
Expression= { $_.Synopsis -replace '[\s\r\n]+$' }
20-
}, @{
21-
Name='Pattern'
22-
Expression = { '```' + "$($_.ScriptBlock.Attributes.RegexPattern -replace '\|','\|')" + '```'}
23-
}
24-
}
2+
$psLanguage | Out-String
253
}
264
~~~

0 commit comments

Comments
 (0)