| Crates.io | bingogo |
| lib.rs | bingogo |
| version | 0.2.1 |
| created_at | 2024-05-15 08:52:24.733763+00 |
| updated_at | 2024-05-16 03:07:12.470717+00 |
| description | An executable file manager written in Rust. |
| homepage | |
| repository | https://github.com/dwpeng/bingo |
| max_upload_size | |
| id | 1240798 |
| size | 35,897 |
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 by cargo
cargo install bingogo
You also can find in release page and download it.
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
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
bingo mv <old_name> <new_name>
only file in $HOMW/.bingo/bin can be removed, the original executable file won't be deleted.
bingo rm <name>
bingo ls