[ProgramMode("Sync", "Syncs the files for a particular stream and changelist")]
classSyncMode:WorkspaceMode
{
[CommandLine("-Client=", Required = true)]
[Description("Name of the client to sync. Will be created if it does not exist.")]
publicstringClientName=null;
[CommandLine("-Stream=", Required = true)]
[Description("The stream to sync")]
publicstringStreamName=null;
[CommandLine("-Change=")]
[Description("The change to sync. May be a changelist number, or 'Latest'")]
publicstringChange="Latest";
[CommandLine]
[Description("Optional path to a cache file used to store workspace metadata. Using a location on a network share allows multiple machines syncing the same CL to only query Perforce state once.")]
FileReferenceCacheFile=null;
[CommandLine("-Filter=")]
[Description("Filters for the files to sync, in P4 syntax (eg. /Engine/...)")]
publicList<string>Filters=newList<string>();
[CommandLine("-FakeSync")]
[Description("Simulates the sync without actually fetching any files")]