mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
515 B
21 lines
515 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace Tye.Hosting
|
|
{
|
|
public class ProcessRunnerOptions
|
|
{
|
|
public bool DebugMode { get; set; }
|
|
public bool BuildProjects { get; set; }
|
|
|
|
public static ProcessRunnerOptions FromArgs(string[] args)
|
|
{
|
|
return new ProcessRunnerOptions
|
|
{
|
|
BuildProjects = !args.Contains("--no-build"),
|
|
DebugMode = args.Contains("--debug")
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|