<commit_before><?php


namespace Ithome\OAuthClient\Console;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputArgument;
use Illuminate\Support\Str;

class ConsumerSettingCommand extends Command
{
    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'oauth-client:set-consumer';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Setting a Consumer...';


    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return void
     */
    public function fire()
    {

        $this->call('config:publish', ['package' => 'artdarek/oauth-4-laravel']);
        $this->call('dump-autoload');
        $this->info('The  config be create !!');
        // $clientId = $this->argument('clientid');
        // $clientSecret = $this->argument('clientSecret');

        // $this->clientRepo->create($clientId, $clientSecret);
        // $this->info('Client created successfully');
        // $this->info('Client ID: '.$clientId);
        // $this->info('Client Secret: '.$clientSecret);
    }

    /**
     * @return array
     */
    public function getArguments()
    {
        return [

            ['clientId', InputArgument::OPTIONAL, 'Client ID to use.', Str::random()],
            ['clientSecret', InputArgument::OPTIONAL, 'Client Secret to use.', Str::random(32)]<commit_msg>update info<commit_after><?php


namespace Ithome\OAuthClient\Console;

use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputArgument;
use Illuminate\Support\Str;

class ConsumerSettingCommand extends Command
{
    /**
     * The console command name.
     *
     * @var string
     */
    protected $name = 'oauth-client:set-consumer';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Setting a Consumer...';


    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return void
     */
    public function fire()
    {

        $this->call('config:publish', ['package' => 'artdarek/oauth-4-laravel']);
        $this->call('dump-autoload');
        $this->info('The Base config be create !!');
        // $clientId = $this->argument('clientid');
        // $clientSecret = $this->argument('clientSecret');

        // $this->clientRepo->create($clientId, $clientSecret);
        // $this->info('Client created successfully');
        // $this->info('Client ID: '.$clientId);
        // $this->info('Client Secret: '.$clientSecret);
    }

    /**
     * @return array
     */
    public function getArguments()
    {
        return [

            ['clientId', InputArgument::OPTIONAL, 'Client ID to use.', Str::random()],
            ['clientSecret', InputArgument::OPTIONAL, 'Client Secret to use.', Str::random(32)]
{'fraction_non_alphanumeric': 0.1592442645074224, 'fraction_numerical': 0.0020242914979757085, 'mean_word_length': 2.42378752886836, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '5511234', 'n_tokens_mistral': 856, 'n_tokens_neox': 843, 'n_words': 179}