function Import-PowerShellYamlModule {
    Import-Module powershell-yaml -ErrorAction SilentlyContinue
}

function Invoke-Main {
    Write-Host "Preparing environment..." -ForegroundColor Cyan
    Write-Host

    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
