Here is a sample of a command I want to run from command-line, using drush: refreshing strings (i18n module).
But seems drush does not run the batch, how should I deal with such cases ?

module_load_include('inc', 'i18n_string', 'i18n_string.admin');

$data = array();
$data['values']['op'] = t('Refresh strings');
$data['values']['groups'] = array( 'menu', 'taxonomy', 'blocks');
$data['values']['delete'] = true;
i18n_string_admin_refresh_form_submit(NULL, $data);

The same question keeps me from solving #1800530: Drush Extension : Enable translation for Field translation

Comments

greg.1.anderson’s picture

Version: 7.x-5.x-dev » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.

greg.1.anderson’s picture

Issue summary: View changes

typo