HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /var/www/devs.lapieza.net/vendor/mindee/mindee/bin/
Upload File :
Current File : /var/www/devs.lapieza.net/vendor/mindee/mindee/bin/cli.php
<?php

namespace Mindee\CLI;

require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/MindeeCLIDocuments.php';
require __DIR__ . '/MindeeCLICommand.php';

use Mindee\Product;
use Symfony\Component\Console\Application;


$cli = new Application();
$mindeeCommand = new MindeeCLICommand(MindeeCLIDocuments::getSpecs());
$cli->add($mindeeCommand);
try {
    $cli->add($mindeeCommand);
    $cli->setDefaultCommand($mindeeCommand->getName(), true);
    $cli->run();
} catch (\Exception $e) {
    error_log("Could not start the Mindee CLI, an exception was raised:");
    error_log($e->getMessage());
}