Print undercover result to a file
rafayet-monon opened this issue · comments
I was trying to use the Undercover
gem with Danger. For the Danger to read data from undercover, the report was needed to be printed in a file.
Is it possible to add a -o $output_path
option within undercover which can be super useful for a lot of people out there?
Hi @rafayet-monon! Thanks for submitting this issue and most importantly for your work on https://github.com/nimblehq/danger-undercover. Just added a link to it in the readme file.
Adding a file output option is surely welcome. My concern is mostly about the specific output format and how it's going to be consumed (e.g. should it be JSON or something else). I don't know much about the internals of danger (as a user of pronto), but it would be nice to have stuff like inline comments and this could already warrant some structured output. Not going to work on this immediately, but I'd be happy to discuss more details here