wawandco / milo

Milo is an HTML linter written in Go
MIT License
20 stars 0 forks source link

Allowing to set the output thought the CLI flags #72

Closed paganotoni closed 4 years ago

paganotoni commented 4 years ago

This will allow to pass --output to the CLI and will use the output formatter with the name passed. The flag overrides what's set in the config file if its not specified will use what's in config, otherwise will use text formatter. p.e:

milo ./templates --output github
milo ./templates --output silent
milo ./templates --output text
paganotoni commented 4 years ago

While building this PR I have started to contemplate the need for integration tests that check milo from a more general standpoint.

larrymjordan commented 4 years ago

@paganotoni This looks great!