pull/549/head
Killers0992 2 years ago
parent 96503c4cb0
commit b7040936fd

@ -9,13 +9,14 @@ await Host.CreateDefaultBuilder()
[Command(Description = "Downloads SCP: SL assembly files.")] [Command(Description = "Downloads SCP: SL assembly files.")]
public class AppCommand public class AppCommand
{ {
[Option(Description = "Branch.")]
public string Branch { get; set; } = ContentDownloader.DEFAULT_BRANCH;
[Required] [Required]
[Option(Description = "Files to download.")] [Option(Description = "Files to download.", LongName = "filesToDownload")]
public string FilesToDownload { get; set; } = "Assembly-CSharp.dll"; public string FilesToDownload { get; set; } = "Assembly-CSharp.dll";
[Required]
[Option(Description = "Branch.", LongName = "branch")]
public string Branch { get; set; } = ContentDownloader.DEFAULT_BRANCH;
public async Task<int> OnExecute(IConsole console) public async Task<int> OnExecute(IConsole console)
{ {
try try

Loading…
Cancel
Save