You are here

function auto_nodetitle_drush_command in Automatic Nodetitles 7

Implementation of hook_drush_command().

File

./auto_nodetitle.drush.inc, line 6

Code

function auto_nodetitle_drush_command() {
  $items = array();
  $items['ant'] = array(
    'callback' => 'drush_auto_nodetitle_drush_update',
    'description' => dt('Update automatic node titles.'),
    'examples' => array(
      'drush ant sometype' => dt('Update all the automatic node titles for content type sometype'),
    ),
  );
  return $items;
}