1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 17:53:50 +02:00

sdcv: add page (#6145)

This commit is contained in:
258204 2021-07-08 05:03:01 +09:30 committed by GitHub
parent 97c58c39c6
commit 6b8fdbee8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

33
pages/common/sdcv.md Normal file
View file

@ -0,0 +1,33 @@
# sdcv
> StarDict, a command-line 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}}`
- Lookup 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:
`sdvc --data-dir {{path/to/directory}} {{search_term}}`