README.md in lokalise_manager-1.1.0 vs README.md in lokalise_manager-1.2.0

- old
+ new

@@ -13,10 +13,12 @@ ### Requirements This gem requires Ruby 2.5+. You will also need to [setup a Lokalise account](https://app.lokalise.com/signup) and create a [translation project](https://docs.lokalise.com/en/articles/1400460-projects). Finally, you will need to generate a [read/write API token](https://docs.lokalise.com/en/articles/1929556-api-tokens) at your Lokalise profile. +Alternatively, you can utilize a token obtained via OAuth 2 flow. When using such a token, you'll have to set `:use_oauth2_token` option to `true` (see below). + ### Installation Add the gem to your `Gemfile`: ```ruby @@ -90,9 +92,10 @@ * `use_oauth2_token` (`boolean`) — whether you would like to use a token obtained via [OAuth 2 flow](https://docs.lokalise.com/en/articles/5574713-oauth-2). Defaults to `false`. * `project_id` (`string`, required) — Lokalise project ID. You must have import/export permissions in the specified project. * `locales_path` (`string`) — path to the directory with your translation files. Defaults to `"#{Dir.getwd}/locales"`. * `branch` (`string`) — Lokalise project branch to use. Defaults to `""` (no branch is provided). * `timeouts` (`hash`) — set [request timeouts for the Lokalise API client](https://lokalise.github.io/ruby-lokalise-api/additional_info/customization#setting-timeouts). By default, requests have no timeouts: `{open_timeout: nil, timeout: nil}`. Both values are in seconds. +* `silent_mode` (`boolean`) — whether you would like to output debugging information to `$stdout`. By default, after a task is performed, a short notification message will be printed out to the terminal. When set to `false`, notifications won't be printed. Please note that currently `import_safe_mode` has higher priority. Even if you enable `silent_mode`, and the `import_safe_mode` is enabled as well, you will be prompted to confirm the import operation if the target directory is not empty. ### Import config * `import_opts` (`hash`) — options that will be passed to Lokalise API when downloading translations to your app. Here are the default options: \ No newline at end of file