Update ResourceGeneratorCommand.php