Improves config loading feedback

Adds a detailed output of configuration properties upon successful loading.

This enhancement provides immediate feedback to the user, confirming
that the configuration file has been loaded correctly and displaying
the available properties.
This commit is contained in:
dopeuni444 2025-07-31 13:03:57 +04:00
parent 0cfd614b12
commit 7956969c8b

View File

@ -11,6 +11,7 @@ if (Test-Path $configPath) {
Write-Host "✅ Configuration file exists" -ForegroundColor Green
$config = Get-Content $configPath | ConvertFrom-Json
Write-Host "✅ Configuration loaded successfully" -ForegroundColor Green
Write-Host " Configuration properties: $($config.PSObject.Properties.Name -join ', ')" -ForegroundColor Cyan
} else {
Write-Host "❌ Configuration file not found" -ForegroundColor Red
}