eget icon indicating copy to clipboard operation
eget copied to clipboard

Rename a file without specifying the dir to place it in

Open Makeshift opened this issue 9 months ago • 0 comments

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

Makeshift avatar Oct 03 '23 15:10 Makeshift