giginet / xcprofiler

:chart_with_upwards_trend: CLI to profile compilation time of Swift project
MIT License
332 stars 13 forks source link

Command line option for output format #20

Closed richellis closed 7 years ago

richellis commented 7 years ago

It would be great to be able to specify the JSON reporter format as a command-line option, e.g.

xcprofiler MyApp --output-json MyApp-xcprofile.json

I think this would allow for easier integration with continuous integration scripts.

Thanks for an awesome project!

giginet commented 7 years ago

Hi @richellis. Thanks for your feedback.

For example, in xcpretty, we can set formatter from command line options. I'll refer to it and consider about this feature.

Until that please implement a wrapper script to set formatter.

giginet commented 7 years ago

I'm working on.