-
Notifications
You must be signed in to change notification settings - Fork 1
/
console
executable file
·69 lines (58 loc) · 2.1 KB
/
console
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env php
<?php
require_once __DIR__ . '/vendor/autoload.php';
use Symfony\Component\Console\Application;
use App\ConsoleApplication;
use App\Commands\Docker\DockerUpCommand;
use App\Commands\Docker\DockerStartCommand;
use App\Commands\Docker\DockerStopCommand;
use App\Commands\Docker\DockerDownCommand;
use App\Commands\Docker\DockerComposeStringCommand;
use App\Commands\Docker\DockerCliCommand;
use App\Commands\Docker\DockerPullCommand;
use App\Commands\Docker\DockerLogCommand;
use App\Commands\Docker\DockerWebpackRestartCommand;
use App\Commands\Tine\TineInstallCommand;
use App\Commands\Tine\TineUninstallCommand;
use App\Commands\Tine\TineReinstallCommand;
use App\Commands\Tine\TineTestCommand;
use App\Commands\Tine\TineSetupTestCommand;
use App\Commands\Tine\TineUpdateCommand;
use App\Commands\Tine\TineDemodataCommand;
use App\Commands\Tine\TineCliCommand;
use App\Commands\Tine\TineAwaitDbCommand;
use App\Commands\Tine\TineClearCacheCommand;
use App\Commands\Src\ChangeBranchCommand;
use App\Commands\Src\ComposerCommand;
use App\Commands\Src\NpmCommand;
use App\Commands\Src\NpmInstallCommand;
use App\Commands\Src\LangHelperCommand;
$app = new ConsoleApplication();
//Docker Commands
$app->add(new DockerUpCommand());
$app->add(new DockerStartCommand());
$app->add(new DockerStopCommand());
$app->add(new DockerDownCommand());
$app->add(new DockerComposeStringCommand());
$app->add(new DockerCliCommand());
$app->add(new DockerPullCommand());
$app->add(new DockerLogCommand());
$app->add(new DockerWebpackRestartCommand());
//Tine Commands
$app->add(new TineInstallCommand());
$app->add(new TineUninstallCommand());
$app->add(new TineReinstallCommand());
$app->add(new TineTestCommand());
$app->add(new TineSetupTestCommand());
$app->add(new TineUpdateCommand());
$app->add(new TineDemodataCommand());
$app->add(new TineCliCommand());
$app->add(new TineAwaitDbCommand());
$app->add(new TineClearCacheCommand());
//Src Commands
$app->add(new ChangeBranchCommand());
$app->add(new ComposerCommand());
$app->add(new NpmCommand());
$app->add(new NpmInstallCommand());
$app->add(new LangHelperCommand());
$app->run();