mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-21 20:36:36 +03:00
Update recipes for Jane v6.0
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
use Jane\JsonSchema\Console\Command\GenerateCommand;
|
||||
use Symfony\Component\Console\Input\ArrayInput;
|
||||
use Symfony\Component\Console\Output\NullOutput;
|
||||
use Jane\JsonSchema\Console\Loader\ConfigLoader;
|
||||
use Jane\JsonSchema\Console\Loader\SchemaLoader;
|
||||
|
||||
$command = new GenerateCommand(new ConfigLoader(), new SchemaLoader());
|
||||
$inputArray = new ArrayInput(['--config-file' => __DIR__ . '/../config/jane/json_schema.php'], $command->getDefinition());
|
||||
|
||||
$command->execute($inputArray, new NullOutput());
|
||||
Reference in New Issue
Block a user