function drush_config_get

8.0.x config.drush.inc drush_config_get($config_name, $key = NULL)
7.x config.drush.inc drush_config_get($config_name, $key = NULL)
master config.drush.inc drush_config_get($config_name, $key = NULL)

Config get command callback.

Parameters

$config_name: The config name.

$key: The config key.

File

commands/core/config.drush.inc, line 235
Provides Configuration Management commands.

Code

function drush_config_get($config_name, $key = NULL) {
  if (!isset($key)) {
    return drush_config_get_object($config_name);
  }
  else {
    return drush_config_get_value($config_name, $key);
  }
}