You are here

function htaccess_drush_command in Htaccess 7.2

Same name and namespace in other branches
  1. 8.2 htaccess.drush.inc \htaccess_drush_command()

Implements hook_drush_command().

File

./htaccess.drush.inc, line 16

Code

function htaccess_drush_command() {
  $items = array();
  $items['htaccess-deploy'] = array(
    'callback' => 'htaccess_htaccess_deploy',
    'drupal dependencies' => array(
      'htaccess',
    ),
    'description' => dt('Deploy a htaccess profile.'),
    'arguments' => array(
      'profile_name' => dt('Name of the htaccess\' profile.'),
    ),
    'examples' => array(
      'drush htaccess-deploy default' => 'Deploy the default htaccess shipped with Drupal.',
    ),
    'aliases' => array(
      'ht',
    ),
  );
  return $items;
}