gist/app/console

17 lines
400 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;
2015-11-07 22:13:08 +01:00
use Gist\Command\UpdateCommand;
2015-11-10 22:33:19 +01:00
use Gist\Command\StatsCommand;
use Gist\Command\UserCreateCommand;
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());
2015-11-07 22:13:08 +01:00
$app['console']->add(new UpdateCommand());
2015-11-10 22:33:19 +01:00
$app['console']->add(new StatsCommand());
$app['console']->add(new UserCreateCommand());
2015-07-19 18:19:43 +02:00
2015-05-05 20:33:05 +02:00
$app['console']->run();