marcosnils / bin

Effortless binary manager
MIT License
685 stars 46 forks source link

Show only binaries in archive files? #110

Open marcosnils opened 2 years ago

marcosnils commented 2 years ago

currently when bin install <some_archive.zip>, bin prompts the user which file from the archive to use. Does it make sense only to filter through binaries files only? Currently bin shows all files in the archive which in some cases is a bit annoying.

I think that by default bin could just show binary files in the archive processing and in case the users want to see all of them, they can use the -a flag when calling bin for that

thoughts?

skorokithakis commented 2 years ago

Rather than binary files, maybe it should just show executables?

rothgar commented 2 years ago

Is it possible to have bin extract all the files but symlink the binary? When I try to install packages like kitty it is released as a bundle with all dependencies I would like extracted somewhere but I only want bin/kitty in my path (file 5)

image

marcosnils commented 2 years ago

:wave: I've been away for COVID reasons but I was looking to get back to this this week. Seems like most of the comments here should be resolved by https://github.com/marcosnils/bin/issues/109.

I'll try to start working on that feature this week. @rothgar @skorokithakis I'd appreciate your input on #109 to validate if the UX is solid enough.