alok8bb / cloneit

A cli tool to download specific GitHub directories or files
MIT License
75 stars 2 forks source link

Files are still downloaded to a directory even when zipped #16

Open uncenter opened 3 months ago

uncenter commented 3 months ago

I would expect the zipping behavior to archive the files as a zip instead of downloading to a directory, but the files are still downloaded to the directory with the addition of the zip.

alok8bb commented 3 months ago

Downloading then zipping seemed like the best approach... I'm not aware of any other way to do it. That feature was just something we made for fun, I had just added it in the initial TODOs.

uncenter commented 3 months ago

I'm not aware of any other way to do it.

If there isn't a way to write directly to the zip creator or whatever, maybe write the files to a temp directory and then zip them?