Skip to content

Commit

Permalink
update: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seofernando25 committed Oct 25, 2023
1 parent f1e952d commit 6561f60
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ i18n-openai-translate -i en.json --to fr

You can set up your OpenAI API Key by setting the `OPENAI_API_KEY` environment variable.

Here are the usage flags for the program:

```text
--help: Shows the help message for the program.
--version: Shows the version number of the program.
-f, --from: Specifies the language to translate from.
-t, --to: Specifies the language to translate to.
-l, --languages: Specifies the languages to translate to as an array.
-c, --ctx: Specifies additional context to use.
-s, --save: Specifies whether to save the output to a file or stdout.
-p, --pretty: Specifies whether to pretty print the output.
-i, --input: Specifies the input file to translate, which is required.
```

---

## 🔒 License
Expand Down

0 comments on commit 6561f60

Please sign in to comment.