2015-05-05 20:33:05 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
|
|
|
|
2015-07-19 18:19:43 +02:00
|
|
|
use Gist\Command\CreateCommand;
|
2017-08-23 17:20:23 +02:00
|
|
|
use Gist\Command\ListCommand;
|
2015-11-07 22:13:08 +01:00
|
|
|
use Gist\Command\UpdateCommand;
|
2015-11-10 22:33:19 +01:00
|
|
|
use Gist\Command\StatsCommand;
|
2017-08-23 19:54:58 +02:00
|
|
|
use Gist\Command\DeleteCommand;
|
2015-11-21 14:27:53 +01:00
|
|
|
use Gist\Command\UserCreateCommand;
|
2016-12-23 11:17:56 +01:00
|
|
|
use Gist\Command\Migration\UpgradeTo1p4p1Command;
|
2015-07-19 18:19:43 +02:00
|
|
|
|
2015-05-05 20:33:05 +02:00
|
|
|
$app = require __DIR__.'/bootstrap.php';
|
|
|
|
|
2015-07-19 18:19:43 +02:00
|
|
|
$app['console']->add(new CreateCommand());
|
2017-08-23 17:20:23 +02:00
|
|
|
$app['console']->add(new ListCommand());
|
2015-11-07 22:13:08 +01:00
|
|
|
$app['console']->add(new UpdateCommand());
|
2017-08-23 19:54:58 +02:00
|
|
|
$app['console']->add(new DeleteCommand());
|
2015-11-10 22:33:19 +01:00
|
|
|
$app['console']->add(new StatsCommand());
|
2015-11-21 14:27:53 +01:00
|
|
|
$app['console']->add(new UserCreateCommand());
|
2016-12-23 11:17:56 +01:00
|
|
|
$app['console']->add(new UpgradeTo1p4p1Command());
|
2015-07-19 18:19:43 +02:00
|
|
|
|
2015-05-05 20:33:05 +02:00
|
|
|
$app['console']->run();
|