You are here

function drush_icon_select_generate_sprites in Icon Select 8

Command callback. Generate a number of elements.

1 string reference to 'drush_icon_select_generate_sprites'
icon_select_drush_command in ./icon_select.drush.inc
Implements hook_drush_command().

File

./icon_select.drush.inc, line 27
Provides Drush commands for the icon_select module.

Code

function drush_icon_select_generate_sprites() {
  $url = SvgSpriteGenerator::generateSprites('icons');
  if ($url) {
    drush_print('Generated sprites in ' . $url);
  }
}