Files
UnrealEngineUWP/Engine/Source/Programs/BuildAgent/Workspace/SetupMode.cs
2019-09-27 16:21:33 -04:00

31 lines
765 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BuildAgent.Workspace.Common;
using Tools.DotNETCommon;
namespace BuildAgent.Workspace
{
[ProgramMode("Setup", "Creates or updates a client to use a given stream")]
class SetupMode : WorkspaceMode
{
[CommandLine("-Client=", Required = true)]
[Description("Name of the client to create")]
string ClientName = null;
[CommandLine("-Stream=", Required = true)]
[Description("Name of the stream to configure")]
string StreamName = null;
protected override void Execute(Repository Repo)
{
Repo.Setup(ClientName, StreamName);
}
}
}