info('Token for user '.$user->name); $token = $user->createToken('Personal Access Token')->accessToken; $this->info($token); })->describe('Generates a personal access token for a user'); Artisan::command('htmlparser:import-rulesets', function() { $registry = Registry::query()->where(['type' => RegistryType::RULESET])->first(); $url = "https://faufcc.ru/technical-regulation-in-constuction/formulary-list/"; $service = new RulesetImportService($registry, $url); $service->import(); }); Artisan::command('dev:import-ntd', function() { Excel::import(new \App\Imports\NtdRegistryImport(), Storage::path('import/registries/ntd.xlsx')); });