Skip to content
On this page

Configuration

This section will show you all configurations and how to export or restore them.

Configuration keys

AttributesDescription
APP_IDYoudao translation service app id.
SECRET_KEYYoudao translation service secret key.
MICROSOFT_SECRET_KEYMicrosoft translation service secret key.
MIRCOSOFT_LOCATIONMicrosoft translation service location.
TRANSLATOR_SERVICE_TYPETranslator service type.
FROMWhich language you wanna translate from.
TOWhich language you wanna translate into.
TINIFY_API_KEYTiny png developer's api key.

ET-Config

After updating the ET package, the configurations that configured before always gone. But now, you can backup the configurations by etc -e command before updating the package, and then, according to the etc -i command to restore them after updating.🥳🥳

bash
Usage: etc [options]

Options:
  -v, --version  output the version number
  -i, --init     init ET configuration
  -e, --export   export ET configuration
  -h, --help     display help for command