bingo
An executable file manager written in Rust. It can add some executable files to the $HOME/.bingo/bin
directory and invoke them by bingo run <name>
.
repo
https://github.com/dwpeng/bingo
Install
# install by cargo
cargo install bingogo
You also can find in release page and download it.
Usage
add a new executable file
bingo can copy or link an executable file to the $HOME/.bingo/bin
directory. if you don't specify the name, bingo will use the file name as the name
bingo cp /usr/bin/ls
bingo cp /usr/bin/ls myls
# or
bingo ln /usr/bin/ls
bingo ln /usr/bin/ls myls
run an executable file
use bingo run <name>
/bingo r <name>
to run an executable file, or run it directly by bingo <name>
, if <name>
is same as bingo's subcommands, like ls
, only bingo run <name>
works.
bingo ln /usr/bin/cat
bingo run cat test.txt
bingo r cat test.txt
# or run it d
bingo cat test.txt
rename an executable file
bingo mv <old_name> <new_name>
delete an executable file
only file in $HOMW/.bingo/bin
can be removed, the original executable file won't be deleted.
bingo rm <name>
list all executable files
bingo ls
What is the purpose of this tool? I have
~/bin
in my $PATH and I soft-link all executables I need to that location so why install a new tool only to then further complicate my life and be compelled to usebingo run executable_name
instead of a simpleexecutable_name
?