Add header indicating file was autogenerated

This commit is contained in:
Zontreck 2023-08-29 11:16:19 -07:00
parent d8a949aeeb
commit 5d427af23b

View file

@ -11,6 +11,9 @@ namespace Bottle
{
public class Program
{
public static string Header = "/*\n\nThis code was autogenerated by Bottle. Do not manually edit.\n\n*/";
private static void Usage()
{
Console.WriteLine("Bottle\nJson to C# transformer\n\nBottle [JsonFile] [OutputFile]");
@ -41,6 +44,8 @@ namespace Bottle
MirrorWriter bw = new MirrorWriter();
bw.WriteLine(Header);
bw.WriteLine($"using System;");
bw.WriteLine();