sts10 / rust-command-line-utilities

A curated list of command-line utilities written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider using a table

utkarshgupta137 opened this issue · comments

I've been using the git gist & now this repo to replace all the tools I use one by one. I think it would be great to have a table that maps the GNU/unix tools that each tool is supposed to replace. For eg:

unix rust
cat bat
cd z
cp xcp
diff delta
diff difftastic
du dust
find fd
grep rg
ls exa
ls lsd
rm rip
sed sd

I think this mapping is more descriptive than whatever short descriptions one could come up with.

Not sure how much work it would be, but it would be nice to have trackers for the last commit & number of stars.

Thanks for this issue!

I've thought about this sort of one-to-one table. I'm hesitant because, while some of the Rust versions are meant to be "drop-in" replacements for specific Unix equivalents, others are a bit different. For example, they either have different flags (fd) or do things differently (rip sends deleted files to a "graveyard" and the readme says "You probably shouldn’t alias rm to rip.").

That said, I could hear an argument that readers are smart enough to read about each tool before installing them and making any aliases. I'll think about it some more, see if we get anymore comments!

Not sure how much work it would be, but it would be nice to have trackers for the last commit & number of stars.

Yep, this would be great. I just don't know how to do it yet! I moved this to a news issue: #3 .

I think it would be better to reverse the mapping since one crate could be used to replace more than one tool. sd for eg. can replace both sed & awk. Same for zoxide -> cd, z, autojump. Same for gitui -> git, lazygit.

I kind of thought the whole idea of mapping these Rust tools to their more conventional Unix tools is so Unix users can look for Unix tools they frequently use and might want to replace. If that's true, it makes more sense to list the Unix tools on the left. Does that make sense?

I kind of thought the whole idea of mapping these Rust tools to their more conventional Unix tools is so Unix users can look for Unix tools they frequently use and might want to replace. If that's true, it makes more sense to list the Unix tools on the left. Does that make sense?

That was my idea too, hence the original table. I guess we could just add multiple commands in the UNIX column.

Closing this for now, as I have merged #4 .