22 lines
416 B
Markdown
22 lines
416 B
Markdown
# translate
|
|
|
|
Translate text between languages using AI.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
translate --from auto --to en --tone neutral < input.txt
|
|
```
|
|
|
|
## Arguments
|
|
|
|
- `--from`: Source language (e.g., `en`, `es`, `fr`) or `auto`.
|
|
- `--to`: Target language (e.g., `en`, `es`, `fr`).
|
|
- `--tone`: Translation tone: `neutral`, `formal`, `casual`.
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
echo "Hola mundo" | translate --from es --to en --tone formal
|
|
```
|