4 releases
0.2.1 | May 16, 2024 |
---|---|
0.2.0 | May 15, 2024 |
0.1.1 | May 15, 2024 |
0.1.0 | May 15, 2024 |
#851 in Filesystem
23KB
558 lines
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>
.
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
Dependencies
~2–12MB
~92K SLoC