mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-14 23:02:41 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script pulls updates into all Git repositories in a folder (incl
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./pull-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/pull-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
||||
|
||||
-parentDir <String>
|
||||
Specifies the path to the parent folder
|
||||
@ -94,10 +94,10 @@ try {
|
||||
}
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
if ($failed -eq 0) {
|
||||
"✔️ Updated $numFolders repositories under 📂$parentDirName in $($elapsed)s."
|
||||
"✅ Pulled updates into $numFolders repos at 📂$parentDir in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} else {
|
||||
"⚠️ Updated $numFolders repositories under 📂$parentDirName in $($elapsed)s but $failed failed!"
|
||||
"⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!"
|
||||
exit 1
|
||||
}
|
||||
} catch {
|
||||
@ -106,4 +106,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 08/15/2024 09:50:53)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 11/08/2024 12:34:54)*
|
||||
|
Reference in New Issue
Block a user