Closed nikolay closed 2 years ago
I have this issue but I think it warrants a discussion whether it's an eget issue. The owner of the repo needs to ensure that the binary is named what is expected.
That said, perhaps eget can have a flag that can "attempt" to rename files post extraction. Best effort ofcourse.
Yeah, attempting auto-rename would be a challenge, as there isn't a set naming convention.
Having a manual flag for renaming sounds good though, I currently have to eget
& then mv
There is the --to
flag. For example eget editorconfig-checker/editorconfig-checker --to ec
.
@zyedidia I thought --to
always required a directory though, but now, after you clarified it, it makes sense. Thanks!
I tried to install https://github.com/editorconfig-checker/editorconfig-checker and it worked, but the binary carries some suffixes, which could be stripped off automatically:
ec-darwin-amd64
, i.e. the proper executable must be justec
.