private int OnExecute(IConsole console) { console.WriteLine("Updating templates"); console.WriteLine(); try { var project = _projectService.LoadProject(Environment.CurrentDirectory); _templateService.CreateEmptyManifest(); _templateService.RenderTemplateList(project); return(0); } catch (Exception e) { console.Error.WriteLine(e.Message); return(1); } }