Skip to content

Commit 9d7c00c

Browse files
committed
refactor(downGithub.ps1): 移除OnlyBackup参数并调整WithDate格式
移除不再使用的OnlyBackup参数,并调整WithDate参数的格式以保持代码整洁
1 parent 26fa4e0 commit 9d7c00c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

downGithub.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ param (
3131
[string]
3232
$Path = '.',
3333
[switch]
34-
$WithDate,
34+
$WithDate
3535
# 纯备份场景不需要工作区
36-
[switch]
37-
$OnlyBackup
36+
# [switch]
37+
# $OnlyBackup
3838
)
3939

4040
# $repos = Invoke-RestMethod -Uri "https://api.github.com/users/$UserName/repos" -Headers @{ "User-Agent" = "Mozilla/5.0" }

0 commit comments

Comments
 (0)