// See https://aka.ms/new-console-template for more information using GitStaticPageBuilder.Pages; using LibGit; using LibGit.Extensions; Console.WriteLine("Hello, World!"); var repo = new GitRepo("/home/root@Rory/git/spacebar/server/.git"); Console.WriteLine(repo.ToJson(ignoreNull: false, indent: true, unsafeContent: true)); if(!Directory.Exists("output")) Directory.CreateDirectory("output"); File.WriteAllText("output/repo.json", repo.ToJson(ignoreNull: false, indent: true, unsafeContent: true)); File.WriteAllText("output/repo.html", RepoPage.GetRepoPage(repo));