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!
- Host: GitHub
- URL: https://github.com/nainemom/vocabul
- Owner: nainemom
- Created: 2021-08-14T10:09:57.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-14T14:40:21.000Z (almost 4 years ago)
- Last Synced: 2025-02-05T02:56:07.711Z (3 months ago)
- Topics: command-line, vocabulary-learning
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```