Skip to content

Commit a6dbfc1

Browse files
committed
Add command line option maxConcurrency - #1
1 parent 768bf99 commit a6dbfc1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

backup_github_repositories.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,14 @@ Param (
5050
Mandatory = $True,
5151
ParameterSetName = 'PlainTextSecret'
5252
)]
53-
[string]$userSecret,
53+
[String]$userSecret,
5454

55-
[string]$organisationName,
55+
[String]$organisationName,
5656

57-
[string]$backupDirectory
57+
[String]$backupDirectory,
58+
59+
[ValidateRange(0,256)]
60+
[Int]$maxConcurrency=2
5861
)
5962

6063
# Consolidate the user secret, either from the argument or the prompt, in a secure string format.

0 commit comments

Comments
 (0)