Reveals the code words from the NATO phonetic alphabet for a given set of letters from the alphabet.
Go to file
Dan Anglin ca7afe1f34
test: add a simple test suite
2024-01-08 11:24:28 +00:00
.gitignore feat: add phoenetic-letters 2024-01-08 10:14:22 +00:00
LICENSE Initial commit 2024-01-08 10:13:18 +00:00
README.asciidoc refactor: simplify the main func 2024-01-08 10:37:09 +00:00
go.mod feat: add phoenetic-letters 2024-01-08 10:14:22 +00:00
phonetic_letters.go test: add a simple test suite 2024-01-08 11:24:28 +00:00
phonetic_letters_test.go test: add a simple test suite 2024-01-08 11:24:28 +00:00

README.asciidoc

phonetic-letters

This is a simple application which reveals the code word(s) from the NATO phonetic alphabet for a given set of letters from the English alphabet.

This app can be used to help you memorize the NATO phonetic alphabet.

Installation

Requirements

Go

A minimum version of Go 1.21.0 is required for the installation. Please go here to download the latest version.

Install with Go

git clone https://codeflow.dananglin.me.uk/apollo/phonetic-letters.git
cd phonetic-letters
go install .

Usage

Reveal the code word for g:

$ phonetic-letters g
G - Golf

Reveal the code words for all the letters in Hello, World!:

$ phonetic-letters Hello, World!
H - Hotel
E - Echo
L - Lima
L - Lima
O - Oscar
W - Whiskey
O - Oscar
R - Romeo
L - Lima
D - Delta

Reveal the code words for all letters of the alphabet:

$ phonetic-letters --all
A - Alpha
B - Bravo
C - Charlie
D - Delta
E - Echo
F - Foxtrot
G - Golf
H - Hotel
I - India
J - Juliet
K - Kilo
L - Lima
M - Mike
N - November
O - Oscar
P - Papa
Q - Quebec
R - Romeo
S - Sierra
T - Tango
U - Uniform
V - Victor
W - Whiskey
X - Xray
Y - Yankee
Z - Zulu