refactor: Bootstrap delle dipendenze non riproducibile

This commit is contained in:
2026-08-27 15:51:05 +02:00
parent 6b1020d47c
commit 99ec3384d3
2 changed files with 53 additions and 9 deletions
+5 -9
View File
@@ -1,21 +1,17 @@
function Initialize-PowerShellEnvironment {
Write-Host "Initializing PowerShell environment..." -ForegroundColor Yellow
# Add any environment setup logic here, such as importing modules, setting variables, etc.
# Example: Import-Module SomeModule
function Import-PowerShellYamlModule {
Import-Module powershell-yaml -ErrorAction SilentlyContinue
Write-Host "PowerShell environment initialized." -ForegroundColor Green
}
function Invoke-Main {
Write-Host "Preparing environment..." -ForegroundColor Cyan
Write-Host
Initialize-PowerShellEnvironment
Write-Host "Initializing PowerShell environment..." -ForegroundColor Yellow
Import-PowerShellYamlModule
Write-Host "PowerShell environment initialized." -ForegroundColor Green
Write-Host
Write-Host "Environment preparation complete!" -ForegroundColor Green
}
Invoke-Main
Invoke-Main