mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: pathing
This commit is contained in:
1 parent
8e4f4c39bb
commit
82af101f9c
5 files changed
+60
-16
No files matched your search
@@ -0,0 +1,19 @@
|
||||
namespace CLI.Models
|
||||
{
|
||||
public class Arguments
|
||||
{
|
||||
public string[] raw;
|
||||
public bool sanitize;
|
||||
|
||||
public Arguments(string[] args)
|
||||
{
|
||||
raw = args;
|
||||
sanitize = args.Contains("--sanitize");
|
||||
|
||||
if (args.Length < 1)
|
||||
{
|
||||
throw new ArgumentException("No arguments provided");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace CLI.Models
|
||||
{
|
||||
public class PakFile
|
||||
public class LocalManifestPakFile
|
||||
{
|
||||
public long FileSize { get; set; }
|
||||
public required string FileHash { get; set; }
|
||||
@@ -8,6 +8,6 @@ namespace CLI.Models
|
||||
|
||||
public class LocalManifest
|
||||
{
|
||||
public required Dictionary<string, PakFile> PakFiles { get; set; }
|
||||
public required Dictionary<string, LocalManifestPakFile> PakFiles { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user