dcup: single project-dir, no bg ('&') cmds

This commit is contained in:
Gal Szkolnik 2021-02-03 20:03:39 -05:00
parent e2fe1a8f06
commit 4ba9a69fb9
1 changed files with 5 additions and 3 deletions

View File

@ -44,9 +44,11 @@ if( -not $LogsParams[0] ) {
$logsParams[0] += @("--tail=$tailLen")
}
$PullParams[0] = @('&','pull' ) + $PullParams[0] + $Containers
$UpParams[0] = @('&', 'up' ) + $UpParams[0] + $Containers
$LogsParams[0] = @('logs' ) + $LogsParams[0] + $Containers
$PullParams[0] = @('pull' ) + $PullParams[0] + $Containers
if( $ForceNoFollow ) { $PullParams[0] = @('&') + $PullParams[0] }
$UpParams[0] = @('up' ) + $UpParams[0] + $Containers
if( $ForceNoFollow ) { $UpParams[0] = @('&') + $UpParams[0] }
$LogsParams[0] = @('logs' ) + $LogsParams[0] + $Containers
if( -not $NoPull ) { $allParams += $PullParams + @(@('!')) }
$local:allParams += $UpParams