Skip to content

Files

Latest commit

 

History

History
15 lines (13 loc) · 501 Bytes

README.ps1.md

File metadata and controls

15 lines (13 loc) · 501 Bytes

This directory and it's subdirectories contain the functions defined in LightScript.

    Import-Module ../LightScript.psd1 -Global
    [PSCustomObject]@{
        Table = Get-Command -Module LightScript | 
            Where-Object { $_.ScriptBlock.File -like "$pwd*" } |
            .Name .Verb .Noun .Source {
                $relativePath = $_.ScriptBlock.File.Substring("$pwd".Length) -replace '^[\\/]'
                "[$relativePath]($relativePath)"
            }
    }
    
}