Skip to content

zsphinxyz/zmorse-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZMORSE-CLI

Morse Code converter CLI tool written in Rust.

Release GitHub Tag GitHub Downloads

Usage

zmorse -e "Hello World"
>> .... . .-.. .-.. --- / .-- --- .-. .-.. -..

zmorse -d ".... . .-.. .-.. --- / .-- --- .-. .-.. -.."
>> hello world

// Use with pipe operator 
echo "sos" | zmorse
>> ... --- ...

echo "... --- ..." >> test.txt && cat test.txt | zmorse -d
>> sos

Playground

Run zmorse without any arguments to go into playground. In playground, you can convert morse code to text and vice versa interactively. Run provided commands to configure the playground.

Commands  
/switch, /s Switch between Encode and Decode Modes.
/help, /? Display help message for playground.
/table Print morse code lookup table.
/exit, /q Exit the program.

Installation

Windows

powershell -ExecutionPolicy Bypass -c "irm https://github.com/zsphinxyz/zmorse-cli/releases/download/v0.1.1/zmorse-installer.ps1 | iex"

Linux

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/zsphinxyz/zmorse-cli/releases/download/v0.1.1/zmorse-installer.sh | sh

More download options in Release.

Development

Requirements

  • Rustup
  • Rustc
  • Cargo
    • clap
    • colored

Getting Started

git clone https://github.com/zsphinxyz/zmorse-cli
cd "zmorse-cli"
cargo run

About

morse code converter cli tool

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages