private static function _initConfig(InputInterface $input) { $configFilePath = $input->getArgument('config'); if ($configFilePath === null) { $env = getenv('ASSETS_ENV'); if (empty($env)) { $env = 'development'; } $configFilePath = getcwd() . "/configs/{$env}/assets.php"; } Config::init($configFilePath); }