Add header indicating file was autogenerated
This commit is contained in:
parent
d8a949aeeb
commit
5d427af23b
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue