mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-24 07:15:27 +00:00
16 lines
375 B
PowerShell
Executable File
16 lines
375 B
PowerShell
Executable File
#!/usr/bin/env pwsh
|
|
|
|
$mod = "$PSScriptRoot/src/ci/tasks.psm1"
|
|
Import-Module $mod
|
|
|
|
$cmdName = $args[0]
|
|
if ($null -eq $cmdName) {
|
|
Write-Output "Available Commands"
|
|
Write-Output "------------------"
|
|
(Get-Module $mod -ListAvailable).ExportedCommands.Values | Sort-Object -Property Name | ForEach-Object {
|
|
Write-Output $_.Name
|
|
}
|
|
} else {
|
|
& $cmdName
|
|
}
|