PowerShell_Scripts/docker/dcc.ps1

11 lines
341 B
PowerShell
Raw Normal View History

[CmdletBinding(SupportsShouldProcess)]param(
2021-03-23 05:06:49 +00:00
[ArgumentCompleter({Invoke-Command -ScriptBlock $_DockerComposeDirsCompleter -ArgumentList $args})]
2021-01-24 03:07:36 +00:00
[string[]]$ProjectPath=@($PWD),
[switch]$TestOnly
)
2021-01-24 03:07:36 +00:00
$local:out = Invoke-DockerCompose -ProjectPath $ProjectPath 'config' | Out-String -Stream
if( -not $TestOnly ) {
$out | less
}