/// <summary>
/// Helper: Adds a command line parameter (if it exists) to the Options colleciton
/// </summary>
/// <param name="options"></param>
/// <param name="optionKey"></param>
/// <param name="commandLine"></param>
/// <param name="commandLineKey"></param>
private static void helper_AddValueIfExists(TaskMasterOptions options, string optionKey, CommandLineParser commandLine, string commandLineKey)
{
var commandlineValue = commandLine.GetParameterValue(commandLineKey);
if (!string.IsNullOrWhiteSpace(commandlineValue))
{
options.AddOption(optionKey, commandlineValue);
}
}