setName(self::NAME) ->setDescription(sprintf( '[DEPRECATED] Generates a character set sample just by shuffling the default one, "%s". ' . 'Then it can be set in the SHORTCODE_CHARS environment variable', self::DEFAULT_CHARS )) ->setHelp('This command is deprecated. Better leave shlink generate the charset.'); } protected function execute(InputInterface $input, OutputInterface $output): ?int { $charSet = str_shuffle(self::DEFAULT_CHARS); (new SymfonyStyle($input, $output))->success(sprintf('Character set: "%s"', $charSet)); return ExitCodes::EXIT_SUCCESS; } }