say-rust 1.0.1

A simple command-line tool which is an alternative to echo.
say-rust-1.0.1 is not a library.

say

this project is an echo alternative written in rust for fun.

Installation [crates.io]

** Available on crates.io!!

  • Install with cargo
cargo install say-rust
  • Use say
say "we love rust!!\n" -f

Compilation [Building]

  • Copy this git repository
git clone https://github.com/namnam1105/say
  • Install cargo and rustc
  • To compile run:
cargo build --release
  • To install say run:
cargo install --path .
  • Use say
say "we love rust!!\n" -f

Syntax

say [OPTIONS] "TEXT"

** Using quotes is not necessary but it helps reduce error with different shells.

Options:

  • -f --format: enables formatting with ANSI escapes
  • -h --help: print out built-in help