-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathOptions.cs
More file actions
25 lines (18 loc) · 1.03 KB
/
Options.cs
File metadata and controls
25 lines (18 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace BitMono.CLI.Modules;
internal class Options
{
[Option('f', "file", Required = true, HelpText = "Set file path.")]
public string? File { get; set; }
[Option('l', "libraries", Required = false, HelpText = "Set libraries path.")]
public string? Libraries { get; set; }
[Option('o', "output", Required = false, HelpText = "Set output path.")]
public string? Output { get; set; }
[Option('p', "protections", Required = false, HelpText = "Set protections list, also can be set via protections.json.")]
public IEnumerable<string> Protections { get; set; } = [];
[Option("criticals-file", Required = false, HelpText = "Set criticals configuration file path.")]
public string? CriticalsFile { get; set; }
[Option("logging-file", Required = false, HelpText = "Set logging configuration file path.")]
public string? LoggingFile { get; set; }
[Option("obfuscation-file", Required = false, HelpText = "Set obfuscation configuration file path.")]
public string? ObfuscationFile { get; set; }
}