Public/Get-NLBaselineConfig.ps1
|
<#
.SYNOPSIS Gets the NLBaseline configuration .DESCRIPTION Returns the configuration object from config.json .OUTPUTS PSCustomObject containing the configuration #> function Get-NLBaselineConfig { [CmdletBinding()] param() $workspacePath = Get-WorkspacePath if (-not $workspacePath) { Write-Error "Workspace not configured. Please run Initialize-NLBaseline first." return $null } return Get-Config -WorkspacePath $workspacePath } |