Skip to content

Type Alias: CLITranslate ​

CLITranslate = (text) => string

Translate a text of the help or of the prompts into the user's language: return the translated text, its {name} placeholders filled from params.

Parameters ​

text ​

CLIText

Returns ​

string

Released under the MIT License.