1
0
Fork 0
mirror of synced 2024-10-02 18:26:49 +13:00

Fix after revert

This commit is contained in:
Matej Bačo 2024-01-11 08:25:55 +00:00
parent e0db651240
commit 479c70d0aa

View file

@ -22,7 +22,7 @@ class DevGenerateTranslations extends Action
{ {
$this $this
->desc('Generate translations in all languages') ->desc('Generate translations in all languages')
->param('dry-run', true, new Boolean(true), 'If action should do a dry run. Dry run does not write into files', true) ->param('dry-run', 'true', new Boolean(true), 'If action should do a dry run. Dry run does not write into files', true)
->param('api-key', '', new Text(256), 'Open AI API key. Only used during non-dry runs to generate translations.', true) ->param('api-key', '', new Text(256), 'Open AI API key. Only used during non-dry runs to generate translations.', true)
->callback(fn ($dryRun, $apiKey) => $this->action($dryRun, $apiKey)); ->callback(fn ($dryRun, $apiKey) => $this->action($dryRun, $apiKey));
} }