18 lines
366 B
PowerShell
Executable File
18 lines
366 B
PowerShell
Executable File
param()
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
Write-Host "Checking local tools..."
|
|
|
|
$tools = @("git", "terraform")
|
|
foreach ($tool in $tools) {
|
|
$cmd = Get-Command $tool -ErrorAction SilentlyContinue
|
|
if ($null -eq $cmd) {
|
|
Write-Warning "$tool not found in PATH"
|
|
} else {
|
|
Write-Host "$tool found: $($cmd.Source)"
|
|
}
|
|
}
|
|
|
|
Write-Host "Bootstrap check finished."
|