You are here

function schemaorg_drush_command in Schema.org 7

Implements hook_drush_command().

File

./schemaorg.drush.inc, line 11
Drush integration for the schemaorg module.

Code

function schemaorg_drush_command() {
  $items['schemaorg-json'] = array(
    'description' => dt('Generates JSON from rdfs.schema.org.'),
    'options' => array(
      '--with-comments' => 'Includes comment in the JSON output',
    ),
  );
  return $items;
}