Open brendanorourke opened 6 years ago
Note: some checks for installation of the appropriate tools (tar, gunzip, etc.) will be required, given that this repo spans both macOS and Ubuntu.
Or they can simply all be installed on init
, or both-- :see_no_evil:
As it stands, logic to extract compressed files from HTTP downloads is all over the place, see here.
That's one ugly function.
Logic for extracting files should be abstracted into a util function, which can also be exposed as terminal bin, for the user.
A great example from nparikh: