Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- drush create-denver-type --name="some title" --title="some title" --options="apple" --userid="myid"
- foreach ($options as $opt => $value) {
- switch ($opt) {
- case 'Apples' :
- function1();
- break ;
- case 'Pears' :
- function2();
- break ;
- case 'Orange' :
- function2();
- break ;
- }
- }
- $options = drush_get_option_list('options');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement