-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
topia
32 lines (22 loc) · 849 Bytes
/
topia
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env php
<?php
/*
* foxverse Topia
* Handles console interaction.
*/
namespace Miiverse;
use Symfony\Component\Console\Application;;
require_once 'core.php';
$application = new Application(config('general.name'));
// Declare commands
$application->add(new Console\Command\DatabaseInstallCommand);
$application->add(new Console\Command\DatabaseMigrateCommand);
$application->add(new Console\Command\DatabaseResetCommand);
$application->add(new Console\Command\DatabaseRollbackCommand);
$application->add(new Console\Command\DatabaseStatusCommand);
$application->add(new Console\Command\ChangeDisplayNameCommand);
$application->add(new Console\Command\ServeCommand);
$application->add(new Console\Command\SetupCommand);
$application->add(new Console\Command\JavascriptBuilderCommand);
// Run the application
$application->run();