2021-01-15 02:24:53 -05:00
|
|
|
[CmdletBinding()]param(
|
|
|
|
[Parameter(mandatory)]
|
|
|
|
[string]$RemotePath,
|
2021-05-05 17:57:09 -04:00
|
|
|
[switch]$RawOutput,
|
2021-01-15 02:24:53 -05:00
|
|
|
[string[]]$Remotes = 'All'
|
|
|
|
)
|
|
|
|
|
2021-05-05 17:57:09 -04:00
|
|
|
Invoke-ViaAnsible -Command "cd $RemotePath",'Write-Output "$PWD `t"','git pull' -Remotes:$($Remotes.ToLower()) -RawOutput:$RawOutput
|
2021-01-15 02:24:53 -05:00
|
|
|
|
2020-11-01 00:55:38 -04:00
|
|
|
|