public override async Task <(string outputLocation, Dictionary <string, string> outputValues, string errorMessage)> Generate() { string projectTitle = ProjectName.Humanize(); // set the default title to project name if (AdditionalConfigs != null && AdditionalConfigs.ContainsKey("Title") && !string.IsNullOrEmpty(AdditionalConfigs["Title"])) { projectTitle = AdditionalConfigs["Title"]; } Config.OutputLocation = Config.OutputLocation ?? Config.WorkingLocation; var error = await _codeGenerator.Generate(ProjectName, projectTitle, Config.OutputLocation, Models); if (!string.IsNullOrEmpty(error)) { return("", null, error); } return(Config.OutputLocation, null, ""); }