dcc -OnlyTest switch now works
This commit is contained in:
parent
4318bfc7a8
commit
d1e24fa7eb
|
@ -51,4 +51,4 @@ $FinalEditList = @() + $FinalEditList + @() + $AdditionalFiles
|
||||||
|
|
||||||
Edit-TextFile $FinalEditList
|
Edit-TextFile $FinalEditList
|
||||||
|
|
||||||
$editFiles | Select-Object -First 1 | ForEach-Object { docker-compose --file $(Resolve-Path $_) config -q }
|
dcc -ProjectPath $ProjectPath -TestOnly
|
||||||
|
|
|
@ -8,7 +8,11 @@
|
||||||
)
|
)
|
||||||
[DockerComposeDirs]::_GetValidValues($wordToComplete,$true)
|
[DockerComposeDirs]::_GetValidValues($wordToComplete,$true)
|
||||||
})]
|
})]
|
||||||
[string[]]$ProjectPath=@($PWD)
|
[string[]]$ProjectPath=@($PWD),
|
||||||
|
[switch]$TestOnly
|
||||||
)
|
)
|
||||||
|
|
||||||
Invoke-DockerCompose -ProjectPath $ProjectPath 'config' | Out-String -Stream | less
|
$local:out = Invoke-DockerCompose -ProjectPath $ProjectPath 'config' | Out-String -Stream
|
||||||
|
if( -not $TestOnly ) {
|
||||||
|
$out | less
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue