Files
symfony-flex-recipes-contrib/jane-php/json-schema/5.0/bin/jane-generate
T

14 lines
418 B
PHP
Executable File

#!/usr/bin/env php
<?php
require __DIR__ . '/../vendor/autoload.php';
use Jane\JsonSchema\Command\GenerateCommand;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;
$command = new GenerateCommand();
$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/config.php'], $command->getDefinition());
$command->execute($inputArray, new NullOutput());