You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getDefaultValue: () => Environment.GetEnvironmentVariable($"{prefix}_TITLE") ?? "Title argument not set!");
// Searchpath with exception when not set
var searchpath = new Option<string>
(name: "--searchpath",
description: "File path to search the TRX files",
getDefaultValue: () => Environment.GetEnvironmentVariable($"{prefix}_SEARCHPATH") ?? throw new Exception("\n\n=>Search path for TRX files not set!\n"));
// OKLimit with default value as int
var oklimit = new Option<int>
(name: "--oklimit",
description: "Minimum percentage as Int for a test to be marked as OK",
getDefaultValue: () => int.TryParse(Environment.GetEnvironmentVariable($"{prefix}_OKLIMIT"), out int limit) ? limit : 100);