2020-11-25 05:46:33 +00:00
|
|
|
[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
|
2020-11-25 05:46:33 +00:00
|
|
|
)
|
|
|
|
|
2021-01-24 03:07:36 +00:00
|
|
|
$local:out = Invoke-DockerCompose -ProjectPath $ProjectPath 'config' | Out-String -Stream
|
|
|
|
if( -not $TestOnly ) {
|
|
|
|
$out | less
|
|
|
|
}
|