mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-13 08:06:26 +03:00
14 lines
418 B
PHP
Executable File
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());
|