function drush_hosting_import in Hostmaster (Aegir) 6
Command to import an existing provision named context and generate nodes for it.
Parameters
$alias: The name of the provision context to import.
File
- modules/
hosting/ hosting.drush.inc, line 91 - Drush include for the Hosting module.
Code
function drush_hosting_import($alias) {
if (sizeof($alias)) {
if (d($alias)->name) {
drush_log("Importing {$alias}");
hosting_drush_import($alias);
}
}
}