1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 17:55:23 +02:00
tldr/pages/common/sdcv.md
Managor d1fa35edf6
common/*: reduce usage of "command-line" (part 2) (#16950)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:23 +03:00

33 lines
692 B
Markdown

# sdcv
> StarDict, a dictionary client.
> Dictionaries are provided separately from the client.
> More information: <https://manned.org/sdcv>.
- Start `sdcv` interactively:
`sdcv`
- List installed dictionaries:
`sdcv --list-dicts`
- Display a definition from a specific dictionary:
`sdcv --use-dict {{dictionary_name}} {{search_term}}`
- Look up a definition with a fuzzy search:
`sdcv {{search_term}}`
- Look up a definition with an exact search:
`sdcv --exact-search {{search_term}}`
- Look up a definition and format the output as JSON:
`sdcv --json {{search_term}}`
- Search for dictionaries in a specific directory:
`sdcv --data-dir {{path/to/directory}} {{search_term}}`