public static void Wyam(this ICakeContext context, WyamSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } var runner = new WyamRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber); runner.Run(settings); }