#morse #ascii #translator #translate #vice #cli #dot-hyphen

app dohy

A CLI for DotHyphen, a simple ASCII to Morse translator and vice versa

5 releases (1 stable)

1.0.0 Oct 8, 2023
0.2.2 Sep 30, 2023
0.2.1 Aug 19, 2023
0.2.0 Mar 24, 2023
0.1.0 Feb 26, 2023

#628 in Command line utilities

35 downloads per month

MIT license

15KB
196 lines

DoHy

A CLI for DotHyphen.

DotHyphen is a basic ASCII to Morse and vice versa translator developed in Rust.

Usage

From source, using cargo:

dohy~ cargo run -- --translate "Hello world" --output morse # Should print: .... . .-.. .-.. --- / .-- --- .-. .-.. -.
dohy~ cargo run -- --translate ".... . .-.. .-.. --- / .-- --- .-. .-.. -." --output ascii # Should print: hello world

Using the binary:

~ dohy --translate "Hello world" --output morse # Should print: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
~ dohy --translate --translate ".... . .-.. .-.. --- / .-- --- .-. .-.. -." --output ascii # Should print: hello world

Contributing

DoHy is a part of Samuel, a project focused on learning how to use Rust to build a crate that can be used from other languages and multiple environments.

Please read the contributing guidelines and the contributing documentation to contribute to DoHy.

Moreover, you can use the Samuel Github Discussions.

All help will be appreciated.

Dependencies

~1.3–1.9MB
~36K SLoC