Closed Cyb3r-Jak3 closed 4 years ago
Thanks for sending the PR. What is the difference to using tee? Like html5validator someoptions | tee test.log
?
In my tests, neither tee
or >
worked to generate a log file.
Upon further investigation, using html5validator option &> log.log
will both show in the terminal and create a log file.
Up to you if you would rather have log file creation in or out of scope.
Thanks for following up. The &>
seems to be a good solution.
Added argument
--log-file
that if set changes the output of the log to a file rather than stout. Addtionally, linked option for GitHub action that I created,