Pax8API/Private/Get-Pax8LocalSpecManifest.ps1

function Get-Pax8LocalSpecManifest {
    [CmdletBinding()]
    param ()

    $manifestPath = Join-Path $script:Pax8ModuleRoot 'data/Pax8SpecManifest.json'
    if (-not (Test-Path -LiteralPath $manifestPath)) {
        return $null
    }

    Get-Content -LiteralPath $manifestPath -Raw | ConvertFrom-Json
}