chore: more todos

This commit is contained in:
dusk 2025-01-05 16:30:05 +09:00
parent 77f5642307
commit 021a5ae897
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -73,6 +73,7 @@ public class Parameters
}
}
// TODO: im not really sure if this should be the way to go
public class ResolvedParameters
{
public readonly Parameters Raw;
@ -87,11 +88,11 @@ public class ResolvedParameters
}
}
// TODO: move this to another file
// TODO: move this to another file (?)
public static class ParametersExt
{
public static bool HasFlag(this Parameters parameters, params string[] potentialMatches)
{
return potentialMatches.Any(parameters.Flags().ContainsKey);
}
}
}