Crates.io | rustsay |
lib.rs | rustsay |
version | 0.2.0 |
source | src |
created_at | 2024-08-10 14:30:23.64845 |
updated_at | 2024-08-10 23:34:37.553802 |
description | A simple CLI tool in Rust that mimics the classic cowsay program, allowing a cow to speak your text in the terminal. |
homepage | https://github.com/space7panda/rustsay |
repository | https://github.com/space7panda/rustsay |
max_upload_size | |
id | 1332434 |
size | 27,873 |
i've been playing around with VIM and CLI. SO one day when i was goofing with command like:
fortune | cowsay | lolcat
Why dont i use it as motivation to learn Vim ad Rust? So i did
cargo install rustsay
rustsay "Hello World"
# Add remote Tap
brew tap space7panda/rustsay https://github.com/space7panda/rustsay
# Installation might take some time if you dont have Rust dependencies in brew
brew install rustsay
git clone https://github.com/space7panda/rustsay.git
cargo install --path .
rustsay --version
cargo install rustsay --force
rustsay --version
brew upgrade rustsay
rustsay --version
time cowsay "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
_________________________________________
/ Lorem Ipsum is simply dummy text of the \
| printing and typesetting industry. |
| Lorem Ipsum has been the industry's |
| standard dummy text ever since the |
| 1500s, when an unknown printer took a |
| galley of type and scrambled it to make |
| a type specimen book. It has survived |
| not only five centuries, but also the |
| leap into electronic typesetting, |
| remaining essentially unchanged. It was |
| popularised in the 1960s with the |
| release of Letraset sheets containing |
| Lorem Ipsum passages, and more recently |
| with desktop publishing software like |
| Aldus PageMaker including versions of |
\ Lorem Ipsum. /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
cowsay 0.01s user 0.00s system 83% cpu 0.015 total
time rustsay "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
_________________________________________
/ Lorem Ipsum is simply dummy text of \
| the printing and typesetting industry. |
| Lorem Ipsum has been the industry's |
| standard dummy text ever since the |
| 1500s, when an unknown printer took a |
| galley of type and scrambled it to make |
| a type specimen book. It has survived |
| not only five centuries, but also |
| the leap into electronic typesetting, |
| remaining essentially unchanged. It |
| was popularised in the 1960s with the |
| release of Letraset sheets containing |
| Lorem Ipsum passages, and more recently |
| with desktop publishing software like |
| Aldus PageMaker including versions of |
\ Lorem Ipsum. /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
rustsay 0.00s user 0.00s system 64% cpu 0.003 total
cowsay 0.01s user 0.00s system 83% cpu 0.015 total
rustsay 0.00s user 0.00s system 64% cpu 0.003 total