#!/usr/bin/env php
<?php

chdir(realpath(dirname(__DIR__)."/../../../"));

require_once './vendor/autoload.php';

use G4\Translate\Text\Translate;
use G4\Commando\Cli;

$cli = new Cli();
$cli->version('x.x.x');
$cli->option()->short("p")
              ->long("path")
              ->desc('locale path');

$cli->option()->short("uf")
    ->long("use_first")
    ->desc('use first trans');

new Translate($cli->value('path'), $cli->value('use_first'));