raverrr/plution

add load file option

Opened this issue · 1 comments

Hi @raverrr .

its a very good tool, but can you add a load file option like plution -l urls.txt

reference https://stackoverflow.com/questions/8757389/reading-a-file-line-by-line-in-go

Thanks

Hi marz.
Plution reads stdin. So you could do this:
plution < file.txt

I don't plan on expanding functionality for this.
If you wanted to do it yourself, you could add the read, a new flag, and use the containsEmpty function. Should be pretty straight forward