// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Commandlets/Commandlet.h" #include "UObject/ObjectMacros.h" #include "RehydrateProjectCommandlet.generated.h" /** * Finds all packages in the project and attempts to rehydrate them. If revision control * is enabled then the commandlet will attempt to checkout the packages that need modification. * * Because the commandlet is the VirtualizationEditor module it needs to be invoked * with the command line: * -run="VirtualizationEditor.RehydrateProject" */ UCLASS() class URehydrateProjectCommandlet : public UCommandlet { private: GENERATED_UCLASS_BODY() //~ Begin UCommandlet Interface virtual int32 Main(const FString& Params) override; //~ End UCommandlet Interface static int32 StaticMain(const FString& Params); bool ParseCmdline(const FString& Params); private: bool bAutoCheckIn = false; };