Public/Set-NLBaselineConfig.ps1
|
<#
.SYNOPSIS Sets the NLBaseline configuration .DESCRIPTION Updates the configuration in config.json .PARAMETER Config Configuration object to save #> function Set-NLBaselineConfig { [CmdletBinding()] param( [Parameter(Mandatory=$true)] [PSCustomObject]$Config ) $workspacePath = Get-WorkspacePath if (-not $workspacePath) { Write-Error "Workspace not configured. Please run Initialize-NLBaseline first." return $false } return Set-Config -Config $Config -WorkspacePath $workspacePath } |