melbahja / got

Got: Simple golang package and CLI tool to download large files faster 🏃 than cURL and Wget!
MIT License
709 stars 45 forks source link

stream file to stdout #60

Open hongkongkiwi opened 2 years ago

hongkongkiwi commented 2 years ago

I would like to stream the output so I can pipe to tar.

e.g. curl -s "url" | tar -xz -C /tmp

Could we have an option to stream to stdout like: got -o - | tar -xz -C /tmp