private static async Task GenerateAssets(string[] files, GeneratorMode mode, string destinationDirectory,
                                                 int quality, string postfix)
        {
            var generator = mode.CreateGenerator();

            foreach (var filepath in files.OrderBy(s => s).ToList())
            {
                Console.WriteLine($"Creating assets from {filepath}");
                var filename = Path.GetFileNameWithoutExtension(filepath);
                await generator.CreateAsset(filepath, filename, destinationDirectory, quality, postfix);
            }
        }
 private static async Task GenerateIcons(string filePath, string destinationDirectory, int quality, GeneratorMode mode) =>
 await mode.CreateGenerator().CreateIcon(filePath, Path.GetFileNameWithoutExtension(filePath),
                                         destinationDirectory, quality);