refactor: Bootstrap delle dipendenze non riproducibile
This commit is contained in:
1 parent
6b1020d47c
commit
99ec3384d3
2 files changed
+53
-9
No files matched your search
@@ -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