Use --style=STYLE in CLI
As discussed at https://github.com/facebook/ktfmt/issues/391#issuecomment-2108107493
To be landed on top of #477
Once #477 is merged internally I'll rebase this, just wanted to get it up so it can be reviewed
Looks like you have to update the tests in order to make it all compile https://github.com/facebook/ktfmt/blob/main/online_formatter/src/test/kotlin/HandlerTest.kt
And then the webpage to send in the right data now https://github.com/facebook/ktfmt/blob/main/website/index/index.js#L95
I keep forgetting about the enclosed gradle builds!
@grodin are you still going to work on those?
I do plan to. It's a little hectic here with school summer holidays so I don't think I'll have a chance this week
@grodin, would you mind if I take over and finish working on the final bits? Credit would still go to you though
No problem, feel free