#!/usr/bin/env php
<?php
/*
 * This file is part of the Eventum (Issue Tracking System) package.
 *
 * @copyright (c) Eventum Team
 * @license GNU General Public License, version 2 or later (GPL-2+)
 *
 * For the full copyright and license information,
 * please see the COPYING and AUTHORS files
 * that were distributed with this source code.
 */

// Set to almost 2Gigs, as 2048M overflows:
// script tried to disable memory_limit by setting it to a negative value -2147483648 bytes which is not allowed
ini_set('memory_limit', '2047M');

require_once __DIR__ . '/../init.php';

use Eventum\Console\Application;
use Eventum\Console\Command\MailDownloadCommand as Command;

$app = new Application();
$app->command(Command::USAGE, Command::class);
$app->setDefaultCommand(Command::DEFAULT_COMMAND, true);
$app->run();
