zyedidia / eget

Easily install prebuilt binaries from GitHub.
MIT License
866 stars 39 forks source link

Rename a file without specifying the dir to place it in #81

Open Makeshift opened 11 months ago

Makeshift commented 11 months ago

Certain tools require renaming when eget downloads them, but the only way to do this currently is to specify the full path:

eget --asset yq_linux_amd64 --to "$EGET_BIN/yq" mikefarah/yq

It would be nice if eget was able to rename a file without having to repeat the globally-set path, eg

eget --asset yq_linux_amd64 --to-name yq mikefarah/yq