Command Reference¶
This section describes how to use morse-transcriber from the command line.
The tool supports both interactive mode (menu-driven) and one-shot mode (direct commands).
1. Interactive Mode¶
Interactive mode is useful when performing multiple conversions in a single session.
Command:
morse-transcriber
morse-transcriber CLI
1. text to morse
2. morse to text
3. morse-transcriber terminated.
enter choice (1/2/3): 1
enter text: SOS
morse-Code: ... --- ...
2. One-Shot Argument Mode¶
Convert Text to Morse Code Command:
morse-transcriber --text "SOS"
Expected Output: ... --- ...
morse-transcriber --morse "... --- ..."
Expected Output: SOS
Important Commands¶
-
Show Help Displays all available options and usage instructions.
morse-transcriber --help
-
Show Version Displays the currently installed version of morse-transcriber.
morse-transcriber --version
Tips¶
- Wrap your input in quotes to avoid shell parsing issues.
- Use interactive mode for quick multiple conversions.
- Use one-shot mode in scripts or automation tasks.