Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to prepend comment to file #47

Open
metalmatze opened this issue Jun 26, 2017 · 1 comment
Open

Add flag to prepend comment to file #47

metalmatze opened this issue Jun 26, 2017 · 1 comment

Comments

@metalmatze
Copy link

I'd like to add a comment like // Code generated by gojson. DO NOT EDIT. to my generated file. I don't want to do this manually.
So I propose adding -comment flag which would just prepend that line to the file.

@ChimeraCoder
Copy link
Owner

Yeah, this is a good idea. I actually can't think of a reason not to include this in all files (many other code generation tools in Go already do), so we may not even need to add a -comment flag to do so.

prepodavan added a commit to prepodavan/gojson that referenced this issue Jun 20, 2020
prepodavan added a commit to prepodavan/gojson that referenced this issue Jun 20, 2020
prepodavan added a commit to prepodavan/gojson that referenced this issue Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants