#!/usr/bin/env php
<?php

date_default_timezone_set('UTC');

set_time_limit(0);

(@include_once __DIR__ . '/../vendor/autoload.php') || @include_once __DIR__ . '/../../../autoload.php';

use Symfony\Component\Console\Application;

$app = new Application('Etherpad Lite Console', '0.2.0');
$app->addCommands(
    array(
        new EtherpadLite\Console\Command\DeletePadCommand(),
        new EtherpadLite\Console\Command\PurgePadCommand(),
        new EtherpadLite\Console\Command\MigrationSqliteToRedisCommand()
    )
);
$app->run();
