public void Execute(IReadOnlyList <LPCommandArgument> input) { string targets = LPCommandArgumentOrOption.GetValue(input, "targets"); int threadsNumber = int.Parse(LPCommandArgumentOrOption.GetValue(input, "threadsNumber"), CultureInfo.InvariantCulture); string buildPath = LPCommandArgumentOrOption.GetValue(input, "buildPath"); Execute(targets, true, threadsNumber, buildPath); }
private string GetArgumentOrOptionValue(IEnumerable <LPCommandArgumentOrOption> collection, string name) { return(LPCommandArgumentOrOption.GetValue(collection, name)); }