chshersh / tool-sync

🧰 Download pre-built binaries of all your favourite tools with a single command
https://crates.io/crates/tool-sync
Mozilla Public License 2.0
72 stars 17 forks source link

[RFC] Support more tools natively #85

Open chshersh opened 2 years ago

chshersh commented 2 years ago

Currently tool-sync supports only a handful of tools. But let's add more useful tools! Feel free to add ideas if the tool follows suggestions for adding a new tool.

At this moment, I see the following tools as good additions:

Rust

Haskell

Go


I would love to add common from the above list to tool-sync's native support (after #84 is done) as I use or want to start using them (so it'll take some time before I actually try a tool and decide that it's a good fit to addition).

UPD 1: Added more tools from the recent thread on /r/rust about favourite CLI tools

hdhoang commented 1 year ago

this is unblocked now, i'll give shellcheck & k9s a try. sc uses tar.xz, which needs support in archive module too.

i wanted to start out with nushell, but it has some companion binaries of pattern nu_*. perhaps exe_name can be a glob for this case?

chshersh commented 1 year ago

this is unblocked now

Thanks! I'll update the description ✅

sc uses tar.xz, which needs support in archive module too.

Indeed, this needs to be supported separately. Feel free to create a separate issue for supporting the xz format. All the relevant logic is currently written in this module:

i wanted to start out with nushell, but it has some companion binaries of pattern nu_*. perhaps exe_name can be a glob for this case?

Could you elaborate a bit more on this? nushell is not on the list above so I haven't looked into it. Are you saying that to sync / install nushell you need to copy several binary files? If that's the case, then indeed, tool-sync currently copies only a single file. I propose to create another separate issue to discuss how to sync multiple files from the asset.