bingogo

Crates.iobingogo
lib.rsbingogo
version0.2.1
sourcesrc
created_at2024-05-15 08:52:24.733763
updated_at2024-05-16 03:07:12.470717
descriptionAn executable file manager written in Rust.
homepage
repositoryhttps://github.com/dwpeng/bingo
max_upload_size
id1240798
size35,897
dwpeng (dwpeng)

documentation

README

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
Commit count: 25

cargo fmt