function archive_archive_restore_complete

8.0.x archive.drush.inc archive_archive_restore_complete()
6.x archive.drush.inc archive_archive_restore_complete()
7.x archive.drush.inc archive_archive_restore_complete()
5.x archive.drush.inc archive_archive_restore_complete()
master archive.drush.inc archive_archive_restore_complete()

Command argument complete callback.

Return value

Strong glob of files to complete on.

File

commands/core/archive.drush.inc, line 421
An early implementation of Site Archive dump/restore. See http://groups.drupal.org/site-archive-format.

Code

function archive_archive_restore_complete() {
  return array(
    'files' => array(
      'directories' => array(
        'pattern' => '*',
        'flags' => GLOB_ONLYDIR,
      ),
      'tar' => array(
        'pattern' => '*.tar.gz',
      ),
    ),
  );
}