typo3-php-datasets/bin/typo3-php-datasets
Daniel Siepmann ae33eeddc9
Add command to convert from XML to PHP (#2)
A bin was added with a single command.
That command allows to convert multiple XML files to PHP files in place.
2023-04-12 12:05:53 +02:00

13 lines
296 B
PHP
Executable file

#!/usr/bin/env php
<?php
require $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
use Codappix\Typo3PhpDatasets\Command\ConvertFromXml;
use Symfony\Component\Console\Application;
$application = new Application();
$application->add(new ConvertFromXml());
$application->run();