in src/Program.cs [625:640]
private DataSourceFormat? ParseDataFormatFromArgs()
{
if (string.IsNullOrEmpty(m_args.Format))
{
return null;
}
DataSourceFormat dsf;
if (!Enum.TryParse<DataSourceFormat>(value: m_args.Format, ignoreCase: true, result: out dsf))
{
throw new UtilsArgumentException(
$"Command line arguments error. Format '{m_args.Format}' is not supported. Supported formats are: '{string.Join(", ", Enum.GetNames(typeof(DataSourceFormat)))}'.",
null);
}
return dsf;
}