The verify-tags command currently relies on users hitting Ctrl+D to trigger the end of input. However, this doesn't work in the Windows command prompt.
I've modified this to use Node's readline module - read the input line by line, then process when an empty line is encountered. This way, the tags can be pasted then simply press Enter. On Unix-like systems, Ctrl+D will continue to work (and if you pipe in a file that will still work), since the EOF will trigger the close event.
The
verify-tags
command currently relies on users hittingCtrl+D
to trigger the end of input. However, this doesn't work in the Windows command prompt.I've modified this to use Node's
readline
module - read the input line by line, then process when an empty line is encountered. This way, the tags can be pasted then simply pressEnter
. On Unix-like systems,Ctrl+D
will continue to work (and if you pipe in a file that will still work), since theEOF
will trigger theclose
event.