CLI¶
The lingo command-line tool lets you look up, add, list, and export terms from your terminal.
Installation¶
This installs into the project virtualenv. Run commands via uv run lingo from the repo directory, or install globally with uv tool install . to get a bare lingo command anywhere in your shell.
Configuration¶
Point the CLI at your Lingo server:
Authentication — choose one:
Commands¶
lingo define — look up a term¶
Performs an exact case-insensitive lookup. Prints the term name, full name, definition, category, status, and vote count.
lingo add — add a new term¶
Optional flags:
| Flag | Description |
|---|---|
--full-name TEXT |
Expanded form of the acronym |
--category TEXT |
Grouping label |
New terms are created with pending status.
lingo list — list terms¶
List all terms. Optional filters:
lingo list --status official
lingo list --category tech
lingo list --status community --category product
lingo list --limit 20
| Flag | Default | Description |
|---|---|---|
--status TEXT |
(all) | Filter by status: suggested, pending, community, official |
--category TEXT |
(all) | Filter by category |
--limit INT |
50 | Maximum number of results |
lingo export — export as Markdown¶
Exports official terms as a Markdown glossary to stdout. Redirect to a file:
Optional flags:
| Flag | Default | Description |
|---|---|---|
--status TEXT |
official |
Which terms to include |
--output PATH |
(stdout) | Write to a file instead of stdout |