refactor: Bootstrap delle dipendenze non riproducibile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user