Acronym lookup Command Line Interface tool.
cargo install slang-cli
Create a .slang.toml
in your home folder with custom JSON sources. By default NASA and triathlon acronyms are configured.
[sources]
IT="https://raw.githubusercontent.com/url/to/your/list/of/acronyms.json"
The JSON format of an acronym is defined as:
{
acronym_id: Option<u32>
abbreviation: String
expansion: String
}
Search all configured sources:
slang [FLAGS] [OPTIONS] <acronym>
To filter for specific context or jargon:
slang --context NASA <acronym>
Example:
slang --context NASA RPM
Found the following expansions:
✅ Context NASA: Random Predictors Mode