Crates.io | salph |
lib.rs | salph |
version | 0.3.3 |
source | src |
created_at | 2022-06-15 16:38:58.145402 |
updated_at | 2023-06-14 18:54:50.746689 |
description | Small tool to help you spell in spelling alphabets |
homepage | |
repository | https://github.com/wouterdebie/salph/ |
max_upload_size | |
id | 606605 |
size | 44,451 |
Small application and rust library that helps you spell sentences in different spelling alphabets.
cargo install salph
USAGE:
salph [OPTIONS] [SENTENCE]...
ARGS:
<SENTENCE>...
OPTIONS:
-a, --alphabet <ALPHABET> Alphabet to use [env: SALPH=] [default: nato]
-h, --help Print help information
-l, --list-alphabets List available alphabets
-s, --show-alphabet <SHOW_ALPHABET> Show the contents of an alphabet
-V, --version Print version information
salph
can also be used through stdin
:
$ echo "some sentence" | salph
Note that the alphabet can be set through either the -a
command line option or the SALPH
environment variable.
See usage documentation at https://docs.rs/salph/latest/salph/
Make sure to have Rust installed. Then build with cargo build
.
The list of supported alphabets is available at https://docs.rs/salph/latest/salph/enum.Alphabet.html and are kept in the alphabets directory. Most alphabets are taken from https://en.wikipedia.org/wiki/Spelling_alphabet. If you want to include other alphabets or have corrections, please add them and create a pull-request.
Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!