Files
UnrealEngineUWP/Engine/Source/Editor/VirtualizationEditor/Private/VirtualizeProjectCommandlet.h
paul chipchase ea9afe6a78 Add '-AutoCheckIn' cmdline option to the Virtualize/Rehydrate project commandlets.
#rb trivial
#jira UE-178518
#preflight 63fcb6f560163ed3c22e3d35

- The option will only checkin packages that were checked out by the commandlet. Local files or packages that were already open for edit will not be submitted.

[CL 24422913 by paul chipchase in ue5-main branch]
2023-02-27 09:34:47 -05:00

38 lines
901 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Commandlets/Commandlet.h"
#include "UObject/ObjectMacros.h"
#include "VirtualizeProjectCommandlet.generated.h"
/**
* Finds all packages in the project and attempts to virtualize them. If revision control
* is enabled then the commandlet will attempt to checkout the packages that need modification.
*
* Because the commmandlet is the VirtualizationEditor module it needs to be invoked
* with the command line:
* -run=VirtualizationEditor.VirtualizeProject
*/
UCLASS()
class UVirtualizeProjectCommandlet
: 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;
};