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 option to format generated code files. #673
Conversation
new Option(new[] { "--include-generated" }, Resources.Inlcude_generated_code_files_in_formatting_operations) | ||
{ | ||
Argument = new Argument<bool>(), | ||
IsHidden = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I marked it as hidden because I don't expect this to be super common and I didn't want to add more to the help screen. I can likely be talked down from this stance.
src/Program.cs
Outdated
@@ -55,6 +55,11 @@ private static async Task<int> Main(string[] args) | |||
{ | |||
Argument = new Argument<string?>() { Arity = ArgumentArity.ExactlyOne } | |||
}, | |||
new Option(new[] { "--include-generated" }, Resources.Inlcude_generated_code_files_in_formatting_operations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new Option(new[] { "--include-generated" }, Resources.Inlcude_generated_code_files_in_formatting_operations) | |
new Option(new[] { "--include-generated" }, Resources.Include_generated_code_files_in_formatting_operations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doh. thanks
Add option to format generated code files.
Resolves #670