From 59bdcc1dea5f6f3f876510326a636781a6e1c22a Mon Sep 17 00:00:00 2001 From: Albert Wolszon Date: Fri, 7 Apr 2023 15:19:37 +0200 Subject: [PATCH] Put instructions on exporting POEDITOR_TOKEN in README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 32f5872..79460cf 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,18 @@ brew tap leancodepl/poe2arb brew install poe2arb ``` +### `POEDITOR_TOKEN` + +The `poe2arb poe` command requires a POEditor read-only API token. +It's available in [Account settings > API access][poeditor-tokens]. + +You can export this token in your `~/.bashrc` or `~/.zshrc` so that it's always +available: + +```bash +export POEDITOR_TOKEN="YOUR_API_TOKEN_HERE" +``` + ## Usage `poe2arb` operates on POEditor's _JSON_ (not _JSON key-value_) export file