Closed phochste closed 3 years ago
Maybe if --empty
is used it should also has an explicit field to ignore empty values (and not only provide it as the default behavior):
string
: treat empty as empty stringsnil
: treat empty as null valuesignore
: ignore empty fieldsI'll make 'string' the default to make it behave the same as the CSV package
Added option value checking and simplified the code somewhat. Released as 0.10.
Can you check this one. I don't know if the
--empty
option is the most elegant choice.