1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 15:07:36 +00:00
stackdump/List-StackdumpCommands.ps1

15 lines
822 B
PowerShell
Raw Normal View History

<EFBFBD><EFBFBD><#
.SYNOPSIS
Lists the management commands for Stackdump.
.DESCRIPTION
Prints out a list of all the management commands supported in this version of
Stackdump.
.EXAMPLE
List-StackdumpCommands
#>
$ScriptDir = Split-Path $MyInvocation.MyCommand.Path
$CommandsDir = Join-Path $ScriptDir 'python\src\stackdump\commands'
ls $CommandsDir -Filter '*.py' | % { Write-Host "`t$($_.BaseName)" }