CommandLineParser icon indicating copy to clipboard operation
CommandLineParser copied to clipboard

Question on field and row terminators

Open TheSaltyKorean opened this issue 6 years ago • 5 comments

Thoughts on the best way to ask the user for field and row terminators? The code I'm giving as examples for my users are in VB.Net and I'd rather convert than parse the different command line options they give

TheSaltyKorean avatar Jun 18 '18 23:06 TheSaltyKorean

I'm sorry I don't understand the question.

j-maly avatar Jul 12 '18 12:07 j-maly

For example, a user might want to tell the app use /r or /t, but those aren't fabulous ways to pass in an argument. Any recommendations on a better way?

TheSaltyKorean avatar Jul 13 '18 20:07 TheSaltyKorean

What's the use case exactly ? And would that work ?

alexandre-lecoq avatar Jul 19 '19 18:07 alexandre-lecoq

I'm asking the user for field and row terminators. Not really sure what the best way to ask the end user to give me what they want. This is often the case in ETL tools.

TheSaltyKorean avatar Jul 19 '19 20:07 TheSaltyKorean

Well, that doesn't sound like a question directly related to this package. But you could have the user pass --fieldseparator "," --newline "\r\n" no ?

alexandre-lecoq avatar Jul 20 '19 04:07 alexandre-lecoq