You are here

function mathjax_drush_command in MathJax: LaTeX for Drupal 6

Same name and namespace in other branches
  1. 7 includes/mathjax.drush.inc \mathjax_drush_command()

Implements hook_drush_command().

File

includes/mathjax.drush.inc, line 10
MathJax module drush integration.

Code

function mathjax_drush_command() {
  $items['mathjax-download'] = array(
    'callback' => 'drush_mathjax_download',
    'description' => dt('Downloads the required MathJax library from mathjax.svn.sourceforge.net.'),
    'arguments' => array(
      'path' => dt('Optional. A path to the download folder. If omitted Drush will use the default location (sites/all/libraries/mathjax).'),
    ),
  );
  return $items;
}