dohy

Crates.iodohy
lib.rsdohy
version1.0.0
sourcesrc
created_at2023-02-26 20:13:23.676661
updated_at2023-10-08 16:01:55.589227
descriptionA CLI for DotHyphen, a simple ASCII to Morse translator and vice versa.
homepagehttps://github.com/isfegu/samuel/dohy
repositoryhttps://github.com/isfegu/samuel
max_upload_size
id795437
size13,031
isfegu (isfegu)

documentation

README

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.

Commit count: 82

cargo fmt