-
Notifications
You must be signed in to change notification settings - Fork 5
/
app.php
27 lines (19 loc) · 978 Bytes
/
app.php
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
<?php
require __DIR__ . '/vendor/autoload.php';
$envFile = __DIR__ . '/.env';
if (file_exists($envFile)) {
$dotenv = new \Symfony\Component\Dotenv\Dotenv();
$dotenv->load($envFile);
}
$app = new \Symfony\Component\Console\Application('Crowdin-TYPO3 Bridge', '2.0');
$app->add(new \TYPO3\CrowdinBridge\Command\SetupCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\BuildCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\ExtractExtensionCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\ExtractCoreCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\StatusCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\StatusExportCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\Management\StatusCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\Meta\MetaBuildCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\Meta\MetaExtractExtensionsCommand());
$app->add(new \TYPO3\CrowdinBridge\Command\Meta\MetaStatusExportCommand());
$app->run();