$res = $this->parseParameters($parser);
$this->config->load();
+ setlocale(LC_TIME, $this->config->locale);
+ $this->handleCommands($res);
+
if (!$this->config->cfgFileExists) {
throw new \Exception(
"No config file found. Looked at the following places:\n"
);
}
- setlocale(LC_TIME, $this->config->locale);
- $this->handleCommands($res);
-
$source = $this->config->loadSource();
$arEvents = $source->getEvents(
$this->config->date,
{
$parser = new \Console_CommandLine();
$parser->description = 'Birthday reminder';
- $parser->version = '0.1.0';
+ $parser->version = '0.6.0';
$parser->addOption(
'daysNext',