setName(self::NAME) ->setDescription('[DEPRECATED] Generates a random secret string that can be used for JWT token encryption') ->setHelp( 'This command is deprecated. Better leave shlink generate the secret key.' ); } protected function execute(InputInterface $input, OutputInterface $output): ?int { $secret = $this->generateRandomString(32); (new SymfonyStyle($input, $output))->success(sprintf('Secret key: "%s"', $secret)); return ExitCodes::EXIT_SUCCESS; } }