mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-03 21:40:53 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user