Repository navigation
Expand file tree
/
Copy pathOptions.cs
More file actions
65 lines (46 loc) · 2.44 KB
/
Copy pathOptions.cs
File metadata and controls
65 lines (46 loc) · 2.44 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Loader;
using System.Security;
using CommandLine;
// dotnet run --task AndroidBuild --path /Users/elialoni/Development/SliderZ --output /Users/elialoni/Development/SliderZ/output
namespace UrhoCooker
{
public class Options
{
[Option("task", Required = true, HelpText = "Set Task")]
public string Task { get; set; } = "";
[Option("architecture", Required = false, HelpText = "Set Architecture , android/ios")]
public string Arch { get; set; } = "";
[Option("subtask", Required = false, HelpText = "Set Sub Task")]
public string SubTask { get; set; } = "";
[Option("type", Required = false, HelpText = "Set type release/debug")]
public string Type { get; set; } = "";
[Option("path", Default = "", Required = true, HelpText = "Set project path")]
public string ProjectPath { get; set; } = "";
[Option("output", Required = false, HelpText = "Set output path for build binaries")]
public string OutputPath { get; set; } = "";
[Option("verbose", Required = false, HelpText = "Set verbose messages")]
public bool Verbose { get; set; } = false;
[Option( "install", Required = false, HelpText = "Install binary")]
public bool Install { get; set; } = false;
[Option( "encrypt", Required = false, HelpText = "Encrypt Game.dll")]
public bool Encrypt { get; set; } = false;
[Option( "encrypt-key", Required = false, HelpText = "Encryption key path relative to project path")]
public string EncryptKeyPath { get; set; } = "";
[Option("developer", Required = false, HelpText = "iOS developer ID")]
public string DeveloperID { get; set; } = "";
[Option("graphics", Required = false, HelpText = "Graphics backend , default is OpenGL/OpenGL ES")]
public string GraphicsBackend { get; set; } = "";
[Option( "debug", Required = false, HelpText = "install and debug binary")]
public bool Debug { get; set; } = false;
[Option( "obfuscate", Required = false, HelpText = "obfuscate the source code")]
public bool Obfuscate { get; set; } = false;
[Option("keystore", Required = false, HelpText = "Android key store path")]
public string KeyStorePath { get; set; } = "";
}
}