Created
November 12, 2014 19:14
-
-
Save emmairwin/1b95ad95807043ea4c8b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function MYMOD_drush_command(){ | |
$items = array(); | |
$items['loc-update'] = array( | |
'description' => dt('Run Location update'), | |
'arguments' => array( | |
'arg1' => dt('Optional User ID'), | |
), | |
'examples' => array( | |
'Standard example' => 'drush loc-update', | |
'Argument example' => 'drush loc-update 5', | |
), | |
'aliases' => array('gloc'), | |
); | |
return $items; | |
} | |
function drush_MYMOD_loc_update($uid){ | |
echo "test"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment