<commit_before><?php
/**
 * Created by PhpStorm.
 * User: marco
 * Date: 16/07/16
 * Time: 11.48
 */

namespace Mbcraft\Laravel\Lang\Commands;

use Illuminate\Console\Command;
use Illuminate\Contracts\Bus\SelfHandling;
use Mbcraft\Piol\Dir;
use Mbcraft\Piol\File;

class AlignLang extends Command implements SelfHandling
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'lang:align 
    {ref_lang : The name of the reference language.} 
    {target_lang : The name of the language to align.}';
    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Align a localization adding missing keys and values using a reference localication.';

    /**
     * Get the console command arguments.
     *
     * @return array
     */
    protected function getArguments()
    {
        return [
            ['ref', InputArgument::REQUIRED, 'The name of the reference language.'],
            ['target', InputArgument::REQUIRED, 'The name of the language to align.']
        ];
    }
<commit_msg>Fixed help<commit_after><?php
/**
 * Created by PhpStorm.
 * User: marco
 * Date: 16/07/16
 * Time: 11.48
 */

namespace Mbcraft\Laravel\Lang\Commands;

use Illuminate\Console\Command;
use Illuminate\Contracts\Bus\SelfHandling;
use Mbcraft\Piol\Dir;
use Mbcraft\Piol\File;

class AlignLang extends Command implements SelfHandling
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'lang:align 
    {ref_lang : The name of the reference language.} 
    {target_lang : The name of the language to align.}';
    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Align a localization adding missing keys and values using a reference localication.';

    /**
     * Get the console command arguments.
     *
     * @return array
     */
    protected function getArguments()
    {
        return [
            ['ref_lang', null, InputArgument::REQUIRED, 'The name of the reference language.'],
            ['target_lang', null, InputArgument::REQUIRED, 'The name of the language to align.']
        ];
    }

{'fraction_non_alphanumeric': 0.10661928031985785, 'fraction_numerical': 0.00888494002665482, 'mean_word_length': 2.55205047318612, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3010380', 'n_tokens_mistral': 662, 'n_tokens_neox': 647, 'n_words': 207}