Skip to content
/ ego Public

Modern updated echo command in Rust

Lab-Brat/ego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ego

Modern updated echo command in Rust
Supports printing user input in ASCII art

Table of Contents

Prerequisites

Rust version -> rustc 1.59.0
Cargo version -> cargo 1.59.0
Crates -> clap = 2

Run

To run the program, download the repository first:

git clone https://github.com/Lab-Brat/ego.git

Change into the repo, and run using cargo:

cd ego
cargo run

To run with flags:

cargo run -- -a hello

or use an executable generated by cargo run from target/degub/ego:

./ego -a hello

Usage

-h or --help - display help message
-n or --drop-newline - do not add newline (\n) in the end of output
-a or --ascii - display user input in ascii format
-o - print empty user input without shrug emoji
-e - interpret escape symbols (\n, \t, and \r)

About

Modern updated echo command in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages