Skip to content

Commit

Permalink
Update CLI README.md (#364)
Browse files Browse the repository at this point in the history
Added:
Documentation to undocumented:
- `accent.json` variable `project`
- ENV Variables to override config file variables
  • Loading branch information
ChxGuillaume authored Aug 25, 2023
1 parent de77b05 commit d673622
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ accent-cli reads from a `accent.json` file. The file should contain valid JSON r

## Document configuration

Format for the `accent.json` file.

- `apiUrl`: The base URL of your Accent Instance
- `apiKey`: Api Key to your Accent Instance
- `project`: Your Project uuid

Available ENV variables. (Each variable will override `accent.json` variables if set)

- `ACCENT_API_KEY`: The base URL of your Accent Instance
- `ACCENT_API_URL`: Api Key to your Accent Instance
- `ACCENT_PROJECT`: Your Project uuid

Each operation section `sync` and `addTranslations` can contain the following object:

- `language`: The identifier of the document’s language
Expand Down

0 comments on commit d673622

Please sign in to comment.