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(); });