[TASK] Deprecate GeneralUtility::getHostName
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / bin / typo3
1 #!/usr/bin/env php
2 <?php
3 /*
4 * This file is part of the TYPO3 CMS project.
5 *
6 * It is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License, either version 2
8 * of the License, or any later version.
9 *
10 * For the full copyright and license information, please read the
11 * LICENSE.txt file that was distributed with this source code.
12 *
13 * The TYPO3 project - inspiring people to share!
14 */
15
16 /**
17 * Command Line Interface module dispatcher
18 * that executes commands
19 */
20 call_user_func(function() {
21 $classLoader = require __DIR__ . '/../../../../vendor/autoload.php';
22 \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(4, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_CLI);
23 \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Core\Console\CommandApplication::class)->run();
24 });