public static async Task <List <PendingUpdate> > ReadPendingUpdates(string file) { var directory = Directory.GetParent(file) !.FullName; var lines = await DotnetStarter.StartDotNet($"list {file} package --outdated", directory); return(ParseWithUpdates(lines).ToList()); }
public static Task Run(string solution) { var solutionDirectory = Directory.GetParent(solution) !.FullName; return(DotnetStarter.StartDotNet($"restore {solution}", solutionDirectory)); }