An open API service indexing awesome lists of open source software.

https://github.com/nainemom/vocabul

Improve your vocabulary from command-line!
https://github.com/nainemom/vocabul

command-line vocabulary-learning

Last synced: 3 months ago
JSON representation

Improve your vocabulary from command-line!

Awesome Lists containing this project

README

        

## Vocabul
Improve your vocabulary from command-line!

### Installation
```bash
npm i vocabul -g
```
## Usage
```bash
vocabul [...arguments]
```

### Arguments
| Argument | Description | Default |
|-|-|-|
| --action -a | Required and Should be one of "translate", "random", or "interval" | |
| --dictionary -d | Local dictionary name | "default" |
| --from -f | Source language for "translate" action | "auto" |
| --to -t | Target language for "translate" action | |
| --word -w | Input word for "translate" action | |
| --add -y | Add translated word to dictionary | |
| --period -p | "interval" action interval period | 1 |
| --command -c | "interval" action run command | "notify-send" |
| --version -v | Show installed version | |
| --help -h | Show help | |

### Example
```terminal
vocabul -a translate -f en -t fa -y -w Hello # Translate "Hello" from english to persian and add it to "default" dictonary
vocabul -a random -d custom # Show word:translation from "custom" dictonary
vocabul -a interval -p 2 -c "notify-send" # Notify word:translation from "default" dictonary every 2 minute
```