PowerShell_Scripts/dcc.ps1

6 lines
204 B
PowerShell

[CmdletBinding(SupportsShouldProcess)]param(
[string[]]$ProjectPath=@($PWD)
)
$ProjectPath | ForEach-Object { docker-compose --file $(Resolve-Path $(Join-Path $_ docker-compose.yml)) config | less }