/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function hello_world($args) { var_dump($args); } // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// $args = drush_get_arguments(); if(function_exists($args[2])) { $args[2]($args); drush_log('completed running', 'ok'); } else { drush_log('Could not find drush script command', 'error'); }