gist/app/console

23 lines
647 B
Plaintext
Raw Normal View History

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;
use Gist\Command\UserCreateCommand;
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());
$app['console']->add(new UserCreateCommand());
$app['console']->add(new UpgradeTo1p4p1Command());
2015-07-19 18:19:43 +02:00
2015-05-05 20:33:05 +02:00
$app['console']->run();