You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DepotDownloader/Program.cs
+47-70Lines changed: 47 additions & 70 deletions
Original file line number
Diff line number
Diff line change
@@ -24,20 +24,20 @@ public static Task<int> Main(string[] args)
24
24
{
25
25
newOption<bool>("--debug"){IsHidden=true},
26
26
27
-
newOption<uint>("--app","The AppID to download"){IsRequired=true,ArgumentHelpName="id"},
27
+
newOption<uint>("--app","The AppID to download"){IsRequired=true,ArgumentHelpName="id",Name="AppId"},
28
28
29
-
newOption<uint[]>("--depot","The DepotID to download"){ArgumentHelpName="id"},
30
-
newOption<ulong[]>("--manifest","Manifest id of content to download (requires --depot, default: current for branch)"),
29
+
newOption<uint[]>("--depot","The DepotID to download"){ArgumentHelpName="id",Name="Depots"},
30
+
newOption<ulong[]>("--manifest","Manifest id of content to download (requires --depot, default: current for branch)"){ArgumentHelpName="id",Name="Manifests"},
31
31
32
-
newOption<ulong?>("--ugc","The UGC ID to download"),
33
-
newOption<ulong[]>("--pubfile","The PublishedFileId to download (will automatically resolve to UGC id)"),
32
+
newOption<ulong?>("--ugc","The UGC ID to download"){ArgumentHelpName="id"},
33
+
newOption<ulong[]>("--pubfile","The PublishedFileId to download (will automatically resolve to UGC id)"){ArgumentHelpName="id",Name="PublishedFileIds"},
34
34
35
35
newOption<string?>(new[]{"--branch","--beta"},"Download from specified branch if available"),
36
36
newOption<string?>(new[]{"--branch-password","--betapassword"},"Branch password if applicable"),
37
37
38
-
newOption<string[]>("--os",()=>new[]{Util.GetSteamOS()},"The operating system for which to download the game").FromAmong("all","windows","macos","linux"),
39
-
newOption<string[]>("--arch",()=>new[]{Util.GetSteamArch()},"The architecture for which to download the game").FromAmong("64","32"),
40
-
newOption<string[]>("--language",()=>new[]{"english"},"The language for which to download the game"),
38
+
newOption<string[]>("--os",()=>new[]{Util.GetSteamOS()},"The operating system for which to download the game"){Name="OperatingSystems"}.FromAmong("all","windows","macos","linux"),
39
+
newOption<string[]>("--arch",()=>new[]{Util.GetSteamArch()},"The architecture for which to download the game"){Name="Architectures"}.FromAmong("64","32"),
40
+
newOption<string[]>("--language",()=>new[]{"english"},"The language for which to download the game"){ArgumentHelpName="language",Name="Languages"},
newOption<string?>("--username","The username of the account to login to for restricted content"),
@@ -46,7 +46,7 @@ public static Task<int> Main(string[] args)
46
46
47
47
newOption<DirectoryInfo>(new[]{"--directory","--dir"},"The directory in which to place downloaded files"),
48
48
newOption<FileInfo>("--filelist","A list of files to download (from the manifest). Prefix file path with 'regex:' if you want to match with regex").ExistingOnly(),
49
-
newOption<bool>(new[]{"--validate","--verify-all"},"Include checksum verification of files already downloaded"),
49
+
newOption<bool>(new[]{"--validate","--verify-all"},"Include checksum verification of files already downloaded"){Name="Validate"},
50
50
newOption<bool>("--manifest-only","Downloads a human readable manifest for any depots that would be downloaded"),
51
51
52
52
newOption<int?>("--cellid","The overridden CellID of the content server to download from"),
@@ -59,7 +59,19 @@ public static Task<int> Main(string[] args)
0 commit comments