Say (possibly mean) things with a cute rabbit.
# From source
cargo install rabbitsay
# From source
cargo install --path .Or download from the releases page.
$ rabbitsay "Hello, world!"
┌─────────────────┐
│ Hello, world! │
└─────────────────┘
(\__/) ||
(•ㅅ•) ||
/ づ
Usage: rabbitsay [OPTIONS] <MESSAGE>
Arguments:
<MESSAGE> Message on the rabbit's sign
Options:
-p, --padding <PADDING> Padding around the message [default: 4]
-w, --max-width <MAX_WIDTH> Maximum width of the sign [default: 16]
-h, --help Print help
-V, --version Print version
Add to your Cargo.toml:
[dependencies]
rabbitsay = { git = "https://github.com/Cbeck527/rabbitsay" }Use in your code:
use rabbitsay::say;
fn main() {
let output = say("Hello from Rust!");
println!("{}", output);
}