mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 13:57:43 +01:00
galaxy brain 2: bit of restructure (Bootstrap)
This commit is contained in:
parent
2438a89867
commit
350d2961c1
19 changed files with 345 additions and 136 deletions
33
Dalamud.Injector/Options.cs
Normal file
33
Dalamud.Injector/Options.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
using CommandLine;
|
||||
|
||||
namespace Dalamud.Injector
|
||||
{
|
||||
[Verb("inject")]
|
||||
internal sealed class InjectOptions
|
||||
{
|
||||
[Option('p', "pid", Required = true, HelpText = "A target process id to inject.")]
|
||||
public uint Pid { get; set; }
|
||||
|
||||
[Option("root", Required = false)]
|
||||
public string? RootDirectory { get; set; }
|
||||
|
||||
[Option("bin", Required = false)]
|
||||
public string? BinaryDirectory { get; set; }
|
||||
}
|
||||
|
||||
[Verb("launch")]
|
||||
internal sealed class LaunchOptions
|
||||
{
|
||||
[Value(0)]
|
||||
public string ExecutablePath { get; set; } = null!;
|
||||
|
||||
[Value(1, Required = false)]
|
||||
public string? CommandLine { get; set; }
|
||||
|
||||
[Option("root", Required = false)]
|
||||
public string? RootDirectory { get; set; }
|
||||
|
||||
[Option("bin", Required = false)]
|
||||
public string? BinaryDirectory { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue