You are here

function tmgmt_file_drush_command in Translation Management Tool 7

Same name and namespace in other branches
  1. 8 translators/tmgmt_file/tmgmt_file.drush.inc \tmgmt_file_drush_command()

Implements hook_drush_command().

File

translators/file/tmgmt_file.drush.inc, line 11
Drush integration for tmgmt_file.

Code

function tmgmt_file_drush_command() {
  $items = array();
  $items['tmgmt_translate_import'] = array(
    'description' => 'Import XLIFF translation files',
    'arguments' => array(
      'name' => 'Directory path that is search for *.xlf files or a file name',
    ),
    'aliases' => array(
      'tmti',
    ),
  );
  return $items;
}