linank

Crates.io Rust Docs

Install

If you've got cargo installed

sh cargo install linank

You can also build it youself

sh git clone https://gitlab.com/Maaxxs/linank.git cd linank/ cargo install --path .

Notes regarding Anki

Usage

Note: The deck name in Anki must already exist. Maybe I'll implement auto creation for non existent decks.

Note: At the moment the translation is english->german and hardcoded. That may change as well.

linank --help

```sh Linank 0.1.0 Max Kunzelmann maxdev@posteo.de Searches a tranlation at linguee.de and adds it to an Anki deck

USAGE: linank [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -d, --deck-name The name of the deck in Anki to which the note should be added.

ARGS: The word to translate ```

Example

sh $ linank precious Suche: precious Bedeutung als Adjektiv: "precious" kostbar edel wertvoll Bedeutung als Substantiv: "precious" Liebling Zu Anki hinzufügen?[Y/n]

sh $ linank "precious time" Suche: precious time Bedeutung als Substantiv: "precious time" kostbare Zeit wertvolle Zeit Zu Anki hinzufügen?[Y/n]

Add the word to a different deck than Englisch.

sh $ linank -d TestDeck precious Suche: precious Bedeutung als Adjektiv: "precious" kostbar edel wertvoll Bedeutung als Substantiv: "precious" Liebling Zu Anki hinzufügen?[Y/n]

Linguee

I wrote this program only for personal use.

Plase read their Terms and Conditions and Privacy statement.

License

MIT