diff --git a/src/CLI/Functions/Debug.cs b/src/CLI/Functions/Debug.cs new file mode 100644 index 000000000..8c2d6e84c --- /dev/null +++ b/src/CLI/Functions/Debug.cs @@ -0,0 +1,18 @@ +using DotNet.Globbing; + +namespace CLI.Functions +{ + public static class Debug + { + public static void Run(string[] args) + { + var glob = Glob.Parse("Blitz/Content/Tanks/**"); + + Console.WriteLine( + glob.IsMatch( + "Blitz/Content/Tanks/China/Ch01_Type59/Attachments/ATC_Ch01_Type59_hull.uasset" + ) + ); + } + } +} diff --git a/src/CLI/Program.cs b/src/CLI/Program.cs index 8c0101cdf..99a9bd2a0 100644 --- a/src/CLI/Program.cs +++ b/src/CLI/Program.cs @@ -16,7 +16,7 @@ namespace CLI case "test": { - Test.Run(args); + Debug.Run(args); break; }