#!/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());
