Add Argument parser

This commit is contained in:
Mino 2020-03-29 22:20:30 +09:00
parent a90a5673f2
commit 693babc1e3
8 changed files with 87 additions and 15 deletions

View file

@ -8,10 +8,10 @@ namespace Dalamud.Injector
[Option('p', "pid", Required = true, HelpText = "A target process id to inject.")]
public uint Pid { get; set; }
[Option("root", Required = false)]
[Option("root")]
public string? RootDirectory { get; set; }
[Option("bin", Required = false)]
[Option("bin")]
public string? BinaryDirectory { get; set; }
}