NAME

DBIx::Class::DeploymentHandler::CLI::ConfigReader - Config reader class for Deployment Handler CLI.

Description

Searches the configuration file in the following locations:

$ENV{DBIX_CONFIG_DIR}
current directory
home directory
/etc directory

The config accessor will return undefined if a configuration file is absent in all these locations.

Attributes

config

Configuration values as a hash reference. Generated by builder.

config_name

Name for the configuration file without the suffix. Defaults to dh-cli.

config_files

List of configuration files.

config_paths

List of configuration paths.

Methods

get_env_vars

Returns stem for environment variable DBIX_CONFIG_DIR.