function make_make_complete

8.0.x make.drush.inc make_make_complete()
6.x make.drush.inc make_make_complete()
7.x make.drush.inc make_make_complete()
5.x make.drush.inc make_make_complete()
master make.drush.inc make_make_complete()

Command argument complete callback.

Return value

array Strong glob of files to complete on.

File

commands/make/make.drush.inc, line 250
Drush Make commands.

Code

function make_make_complete() {
  return array(
    'files' => array(
      'directories' => array(
        'pattern' => '*',
        'flags' => GLOB_ONLYDIR,
      ),
      'make' => array(
        'pattern' => '*.make',
      ),
    ),
  );
}