[TASK] Codeception login success and click about module
[Packages/TYPO3.CMS.git] / typo3 / cli_dispatch.phpsh
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 *
19 * This script takes a "cliKey" as first argument and uses that to dispatch
20 * the call to a registered script with that key.
21 * Valid cliKeys must be registered in
22 * $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys'].
23 */
24 call_user_func(function() {
25 $classLoader = require __DIR__ . '/../vendor/autoload.php';
26 (new \TYPO3\CMS\Backend\Console\Application($classLoader))->run();
27 });