Skip to content

Commit 7c22923

Browse files
docs: Commands scaffolding ( Fixes #135 )
1 parent e140b0e commit 7c22923

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

psturtle.com/Commands.html.ps1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
$turtleCommands = Get-Command -Module Turtle -CommandType All
2+
3+
$turtleCoreCommands = $turtleCommands | Where-Object Noun -eq Turtle
4+
5+
ConvertFrom-Markdown @"
6+
7+
$(
8+
@(
9+
$turtleCoreCommands | Sort-Object Name -Descending | %{ "* $($_.Name)"}
10+
) -join [Environment]::NewLine
11+
)
12+
13+
"@
14+

0 commit comments

Comments
 (0)