You are here

function drush_gamma_subtheme in Omega Tools 7

1 string reference to 'drush_gamma_subtheme'
omega_tools_drush_command in ./omega_tools.drush.inc
Implementation of hook_drush_command().

File

./omega_tools.drush.inc, line 71
Drush sql commands

Code

function drush_gamma_subtheme() {
  $args = func_get_args();
  if (isset($args[0])) {
    $name = $args[0];
    $exec = drush_omega_tools_subtheme_gamma($name);

    // Avoid the php memory of the $output array in drush_shell_exec().
    if ($exec) {
      $return = drush_op('system', $exec);
      return $return;
    }
  }
  else {
    return drush_set_error(dt('You must delcare the name of the new subtheme'));
  }
}