Skip to content

Commit

Permalink
sdcv: add page (#6145)
Browse files Browse the repository at this point in the history
  • Loading branch information
258204 authored Jul 7, 2021
1 parent 97c58c3 commit 6b8fdbe
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pages/common/sdcv.md
Original file line number Diff line number Diff line change
@@ -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}}`

0 comments on commit 6b8fdbe

Please sign in to comment.