mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-16 07:38:15 +02:00
Updated the manuals
This commit is contained in:
@ -26,7 +26,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./pull-repos C:\MyRepos
|
||||
⏳ (1) Searching for Git executable... git version 2.42.0
|
||||
⏳ (1) Searching for Git executable... git version 2.43.0
|
||||
⏳ (2) Checking parent folder... 33 subfolders
|
||||
⏳ (3/35) Pulling into 📂base256unicode...
|
||||
...
|
||||
@ -53,7 +53,7 @@ Script Content
|
||||
Specifies the path to the parent folder
|
||||
.EXAMPLE
|
||||
PS> ./pull-repos C:\MyRepos
|
||||
⏳ (1) Searching for Git executable... git version 2.42.0
|
||||
⏳ (1) Searching for Git executable... git version 2.43.0
|
||||
⏳ (2) Checking parent folder... 33 subfolders
|
||||
⏳ (3/35) Pulling into 📂base256unicode...
|
||||
...
|
||||
@ -93,12 +93,17 @@ try {
|
||||
$step++
|
||||
}
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Pulled updates into $numFolders repos under 📂$parentDirName ($failed failed, took $elapsed sec)"
|
||||
exit 0 # success
|
||||
if ($failed -eq 0) {
|
||||
"✔️ Updated $numFolders repos under 📂$parentDirName in $elapsed sec."
|
||||
exit 0 # success
|
||||
} else {
|
||||
"⚠️ Updated $numFolders repos under 📂$parentDirName but $failed failed (took $elapsed sec)."
|
||||
exit 1
|
||||
}
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 01/25/2024 13:58:41)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of pull-repos.ps1 as of 03/27/2024 17:36:31)*
|
||||
|
Reference in New Issue
Block a user