Crates.io | bbshark |
lib.rs | bbshark |
version | 0.1.2 |
created_at | 2025-08-10 12:32:18.924562+00 |
updated_at | 2025-08-10 21:11:28.118279+00 |
description | Command-line interface to prints a very popular kid's song. |
homepage | |
repository | https://github.com/dunlopWill/bbshark |
max_upload_size | |
id | 1788874 |
size | 15,525 |
bbshark
is a blazingly fast command-line interface (CLI) written in Rust for anyone to print a subset of lyrics from a very popular kid's song.
Run the following:
cargo install bbshark
Simply run bbshark for default:
.cargo/bin/bbshark
# Baby shark... doo, doo, doo, doo, doo, doo.
# Baby shark!
Add a help flag (-h
or --help
) to get CLI instructions:
.cargo/bin/bbshark -h
# ...
# USAGE:
# bbshark [OPTIONS]
#
# FLAGS:
# -h, --help Prints help information
# -V, --version Prints version information
#
# OPTIONS:
# -d, --doos <DOOS> Number of 'doo's (between 1 and 127) [default: 6]
# ...
Vary the number of "doo"s by specifying a number between 1 and 127:
.cargo/bin/bbshark -d 12
# Baby shark... doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo.
# Baby shark!
Consider piping stdout into cowsay
and/or lolcat
:
.cargo/bin/bbshark | cowsay -f turtle | lolcat
# ________________________________________
# / Baby shark... doo, doo, doo, doo, doo, \
# \ doo. Baby shark! /
# ----------------------------------------
# \ ___-------___
# \ _-~~ ~~-_
# \ _-~ /~-_
# /^\__/^\ /~ \ / \
# /| O|| O| / \_______________/ \
# | |___||__| / / \ \
# | \ / / \ \
# | (_______) /______/ \_________ \
# | / / \ / \
# \ \^\\ \ / \ /
# \ || \______________/ _-_ //\__//
# \ ||------_-~~-_ ------------- \ --/~ ~\ || __/
# ~-----||====/~ |==================| |/~~~~~
# (_(__/ ./ / \_\ \.
# (_(___/ \_____)_)
#
#
Clone the repository:
git clone https://github.com/dunlopWill/bbshark.git
Ensure you're in the correct directory:
cd bbshark
Run using cargo:
cargo run bbshark
Is bbshark
missing a critical feature? Make a pull request.