skunk icon indicating copy to clipboard operation
skunk copied to clipboard

Allow Skunk to HTML output the results it generates

Open bronzdoc opened this issue 5 years ago • 1 comments

Right now skunk will display the output it generates as simple text. We would like that skunk could take a --format flag where you can specify an html format

We probaby want to abstract this code into its own class so we are able to switch formatters at runtime https://github.com/fastruby/skunk/blob/7f8a4822d0f5429204d4daa094db67ecf44e7beb/lib/skunk/cli/commands/status_reporter.rb#L18

bronzdoc avatar Oct 05 '20 04:10 bronzdoc

Considering that Skunk is an extension of RubyCritic, this could be added following the same pattern that RubyCritic (RC) implements.

I don't think this would require any changes in RubyCritic. It could be generated as an additional section in the RC HTML report: https://github.com/whitesmith/rubycritic#overview

etagwerker avatar Oct 22 '20 19:10 etagwerker