rscowsay

Crates.iorscowsay
lib.rsrscowsay
version0.1.0
created_at2025-05-13 08:43:41.645947+00
updated_at2025-05-13 08:43:41.645947+00
descriptionA Rust implementation of cowsay
homepage
repositoryhttps://github.com/Taki-Ta/rscowsay.git
max_upload_size
id1671574
size4,781
Taki Ta (Taki-Ta)

documentation

https://github.com/Taki-Ta/rscowsay.git

README

rscowsay

A Rust implementation of the classic cowsay program.

Description

rscowsay is a simple command-line utility that generates an ASCII art of a cow saying whatever message you provide. It's a Rust implementation of the popular Unix program cowsay.

Installation

Using Cargo

cargo install rscowsay

Building from source

git clone https://github.com/yourusername/rscowsay.git
cd rscowsay
cargo build --release

The binary will be available at target/release/rscowsay.

Usage

# Basic usage
rscowsay "Hello, World!"

# Output:
#   -----------
# < Hello, World! >
#   -----------
#    \   ^__^
#     \  (oo)\_______
#        (__)\       )\/\
#             ||----w |
#             ||     ||

Options

  • --help: Display help message
  • --version: Display version information

Examples

# Single word
rscowsay "Moo!"

# Multiple words
rscowsay "Hello from Rust!"

# Check version
rscowsay --version

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Inspired by the original cowsay program.
Commit count: 0

cargo fmt