Skip to content

Commit

Permalink
Improved description of engine on cli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
heliomar-pena committed Oct 19, 2023
1 parent 4a3a66e commit 69ed6e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ program
program.command('translate')
.description('Translate a text and put the result on the files in the output directory')
.argument('<text>', 'Text to translate')
.addArgument(new Argument('<source-language>', 'source language of the string').choices(supportedLanguages))
.addArgument(new Argument('<source-language>', 'Source language of the string').choices(supportedLanguages))
.argument('<name-of-translation>', 'Name of your translation')
.option('-e, --engine <string>', 'engine to use for the translation')
.option('-s, --settings-file <string>', 'path to the settings file', configPath)
.option('-e, --engine <string>', "Engine to use for the translation. In case you don't define it will be use by default all the translation engines that are free and doesn't requires API Key.")
.option('-s, --settings-file <string>', 'Path to the settings file', configPath)
.action(translateController);

program.parse();

0 comments on commit 69ed6e2

Please sign in to comment.