Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdcv: add page #6145

Merged
merged 28 commits into from
Jul 7, 2021
Merged
Changes from 13 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pages/common/sdcv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# sdcv

> StarDict console version. Command line dictionary client.
258204 marked this conversation as resolved.
Show resolved Hide resolved
> Dictionaries are provided separately.
> More information: <https://manned.org/sdcv>.

- List installed dictionaries:

`sdcv --list-dictist-dicts`
258204 marked this conversation as resolved.
Show resolved Hide resolved

- Display a definition from a specific dictionary:

`sdcv --use-dict {{dictionary_name}} {{search_term}}`

- Display help:

`sdcv --help`

- Lookup definition with fuzzy search:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdcv {{search_term}}`

- Lookup definition with exact search:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdcv --exact-search {{search_term}}`

- Lookup definition and get json output:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdcv -j {{search_term}}`
258204 marked this conversation as resolved.
Show resolved Hide resolved

- Look in specific directory for dictionaries:
258204 marked this conversation as resolved.
Show resolved Hide resolved

`sdvc --data-dir path/to/directory {{search_term}}`
258204 marked this conversation as resolved.
Show resolved Hide resolved

- Start sdcv interactively:

`sdcv`