phonetic-letters/README.asciidoc

80 lines
1.2 KiB
Text

= 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 https://go.dev/dl/[here] to download the latest version.
=== Install with Go
[source,console]
----
git clone https://codeflow.dananglin.me.uk/apollo/phonetic-letters.git
cd phonetic-letters
go install .
----
== Usage
Reveal the code word for `g`:
[source,console]
----
$ phonetic-letters g
G - Golf
----
Reveal the code words for all the letters in `Hello, World!`:
[source,console]
----
$ 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:
[source,console]
----
$ 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
----