public static void SevenZip(this ICakeContext context, SevenZipSettings settings, Action <CommandBuilder> action) { var builder = new CommandBuilder(); action(builder); settings.Command = builder.Command; SevenZip(context, settings); }
public static void SevenZip(this ICakeContext context, SevenZipSettings settings) { var runner = new SevenZipRunner( context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, context.Log, context.Registry); runner.Run(settings); }