public static string DotNetCoreEfMigrationList(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationListerSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settings == null) { settings = new DotNetCoreEfMigrationListerSettings(); } var runner = new DotNetCoreEfMigrationLister(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); return(runner.Script(project, arguments, settings)); }
protected override void RunTool() { var tool = new DotNetCoreEfMigrationLister(FileSystem, Environment, ProcessRunner, Tools); tool.Script(Project, Arguments, Settings); }