This is a one line command that allows you to get the name of the WordPress database used in the install in your current directory. This saves you from having to open wp_config.php.
>wp config get DB_NAME
This is a one line command that allows you to get the name of the WordPress database used in the install in your current directory. This saves you from having to open wp_config.php.
>wp config get DB_NAME