You are here

function asset_generate_drush_command in Asset 7

Implementation of hook_drush_command().

File

modules/asset_generate/asset_generate.drush.inc, line 11
Generate content, taxonomy, menu, and users via drush framework.

Code

function asset_generate_drush_command() {
  $items['generate-assets'] = array(
    'description' => 'Create assets.',
    'arguments' => array(
      'num_assets' => 'Number of assets to generate.',
    ),
    'options' => array(
      'kill' => 'Delete all assets before generating new ones.',
      'types' => 'A comma delimited list of asset types to generate.',
    ),
    'aliases' => array(
      'gena',
    ),
  );
  return $items;
}