14 lines
523 B
YAML
14 lines
523 B
YAML
![]() |
description: "Shows DB connection"
|
||
|
arguments:
|
||
|
database: "Database key from settings.php"
|
||
|
messages:
|
||
|
database-not-found: 'Database "%s" connection info wasn''t found'
|
||
|
database-not-supported: 'Database type "%s" is not supported yet'
|
||
|
database-client-not-found: 'Database client "%s" wasn''t found'
|
||
|
connection: 'Connection: "%s"'
|
||
|
examples:
|
||
|
- description: 'Connects to an specified database, or the default if not arguments passed'
|
||
|
execution: |
|
||
|
drupal database:connect \
|
||
|
<database>
|