| 123456789101112131415161718192021 |
- #requires -Version 3
- param(
- $Command
- )
- if (!$Command) {
- foreach($_ in Get-ChildItem $PSScriptRoot\mk -Name) {
- [System.IO.Path]::GetFileNameWithoutExtension($_)
- }
- "all"
- return
- }
- if ($Command -eq "all"){
- foreach($_ in Get-ChildItem $PSScriptRoot\mk -File) {
- & $_.FullName
- }
- return
- }
- & "$PSScriptRoot\mk\$Command.ps1" @args
|