You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Drush/Commands/core/SiteInstallCommands.php
+27-4Lines changed: 27 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,9 @@ class SiteInstallCommands extends DrushCommands {
13
13
* Install Drupal along with modules/themes/configuration using the specified install profile.
14
14
*
15
15
* @command site-install
16
-
* @param string $profile The install profile you wish to run. Defaults to 'default' in D6, 'standard' in D7+, unless an install profile is marked as exclusive (or as a distribution in D8+ terminology) in which case that is used.
16
+
* @param $profile The install profile you wish to run. Defaults to 'default' in D6, 'standard' in D7+, unless an install profile is marked as exclusive (or as a distribution in D8+ terminology) in which case that is used.
17
17
* @param $additional Any additional settings you wish to pass to the profile. The key is in the form [form name].[parameter name]
18
-
* @option db-url A Drupal 6 style database URL. Only required for initial install - not re-install.
18
+
* @option db-url A Drupal 6 style database URL. Only required for initial install - not re-install. If omitted and required, Drush prompts for this item.
19
19
* @option db-prefix An optional table prefix to use for initial install. Can be a key-value array of tables/prefixes in a drushrc file (not the command line).
20
20
* @option db-su Account to use when creating a new database. Must have Grant permission (mysql only). Optional.
21
21
* @option db-su-pw Password for the "db-su" account. Optional.
@@ -170,9 +170,32 @@ public function validate(CommandData $commandData) {
0 commit comments