Skip to content
/ say Public

Say is a Rust-based command-line utility that allows you to display text on the console.

License

Notifications You must be signed in to change notification settings

SolracHQ/say

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗣️ Say

Say is a Rust-based command-line utility that allows you to display text on the console. It works similarly to the Unix echo command

Installation

To use Say, you'll need to have Rust installed on your system. Once Rust is installed, you can build Say with the following steps:

  1. Clone the Say repository:
git clone https://github.com/CarlosEduardoL/say.git
  1. Change into the cloned directory:
cd say
  1. Build the project with Cargo:
cargo build --release
  1. The built binary will be available in the target/release directory. You can move it to your desired location:
mv target/release/say /usr/local/bin/

Usage

Say is similar to the Unix echo command. Here are some examples of how to use it:

say Hello, World!

This will display the text "Hello, World!" on the console.

say -e "Hello,\t\t\t\tWorld!\nHow are you today?\n"

This will display the text "Hello," followed by four horizontal tabs, followed by the word "World!", and then a newline character. After the newline, it will display the text "How are you today?" on a new line.

say -e "Hello, \x1b[31mWorld!\x1b[0m"

This will display the text "Hello, World!" on the console, with the word "World!" colored in red.

Contributing

Say is a small project created for learning purposes, but contributions are always welcome! If you have an idea for an improvement, feel free to create a pull request.

License

Say is released under the MIT license. See the LICENSE file for details.

About

Say is a Rust-based command-line utility that allows you to display text on the console.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages