Alternate ways to call a function inside a .module file of a module I have installed quickdraw module and it needs some additional functions to be executed using drush commands. For that, I used the following drush commands:

drush php-eval "quickdraw_xx_xx_additionalfunction();"


But it returns an error

Fatal error: Call to undefined function quickdraw_facet_navmenu_materialize() in /usr/local/Cellar/drush/6.3.0/libexec/commands/core/core.drush.inc(1100) : eval()'d code on line 1
Drush command terminated abnormally due to an unrecoverable error.                                                                [error]
Error: Call to undefined function quickdraw_facet_navmenu_materialize() in
/usr/local/Cellar/drush/6.3.0/libexec/commands/core/core.drush.inc(1100) : eval()'d code, line 1


As discussed in this post. I have tried module_load_include(), which returns the same Fatal error. 

Also tried drush eval 'quickdraw_xx_xx_cron();' - Didn't work!!! 

Is there any alternate ways to execute the function or how can I resolve the issue. Any ideas??

NOTE: The additional function is defined in quickdraw_xx_xx.module file, I assume it is not being recognized.
You should make a drush command. It's not very hard: 

function quickdraw_xx_xx_drush_command() {
  $items = array();
  // Name of the drush command.
  $items['quickdraw_xx_xx_additionalfunction'] = array(
    'description' =&gt; 'A quickdraw additional function.',
    'callback' =&gt; 'quickdraw_xx_xx_additionalfunction',
  );
  return $items;
}


This way, Drupal will bootstrap and everything you need will be there, including dependencies to other files.