NattapongSiri / covid_cb

MIT License
2 stars 1 forks source link

TMX validator is too silence #16

Closed NattapongSiri closed 4 years ago

NattapongSiri commented 4 years ago

Description

It print only a failed TMX file. If there's no error, it end without printing anything leave user wonder whether all their files are tested.

Solution

It shall both print on error and succeed cases. For success case, it shall print to std out. For error case, it shall print to std err. This is just to make user easily distinguish failure from succeed.

To make it even simpler, it shall print error in red text and success in green text so caller doesn't need to know shell's output redirection syntax.