The header is currently inferred from the first row thanks to the conventions used from CsvHelper. If it's not present odd errors are thrown about syntax formatting errors that may not be obvious to trap.
This issue has two objectives:
[ ] Trap Header Parse Errors indicating that a header row must be provided, or at least that the query failed for some cleaner reason that may indicate the lack of a header specification.
[ ] Expose an optional flag to insert a header row to the data set (e.g. -h "Field1,Field2,Field3"
The header is currently inferred from the first row thanks to the conventions used from CsvHelper. If it's not present odd errors are thrown about syntax formatting errors that may not be obvious to trap.
This issue has two objectives:
-h "Field1,Field2,Field3"