You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UnityDataTool/Program.cs
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ public static class Program
14
14
publicstaticintMain(string[]args)
15
15
{
16
16
UnityFileSystem.Init();
17
-
17
+
18
18
varrootCommand=newRootCommand();
19
19
20
20
{
@@ -86,15 +86,17 @@ public static int Main(string[] args)
86
86
87
87
{
88
88
varpathArg=newArgument<FileInfo>("filename","The path of the archive file").ExistingOnly();
89
+
varoOpt=newOption<DirectoryInfo>(aliases:new[]{"--output-path","-o"},description:"Output directory of the extracted archive",getDefaultValue:()=>newDirectoryInfo("archive"));
89
90
90
91
varextractArchiveCommand=newCommand("extract","Extract the archive.")
0 commit comments