1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 23:17:37 +00:00
stackdump/List-StackdumpCommands.ps1

15 lines
822 B
PowerShell
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<#
.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)" }