Crates.io | slang-cli |
lib.rs | slang-cli |
version | 0.2.0 |
source | src |
created_at | 2021-12-27 20:57:52.356511 |
updated_at | 2021-12-27 20:57:52.356511 |
description | Acronym search CLI |
homepage | |
repository | |
max_upload_size | |
id | 503875 |
size | 43,687 |
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