gavinr / github-csv-tools

Import and export GitHub issues via CSV
https://npmjs.com/github-csv-tools
MIT License
650 stars 116 forks source link

feat: option "--csvDelimiter <delimiter>" #86

Closed pgerlach closed 1 year ago

pgerlach commented 2 years ago

A lot of CVS files are deliimited by ; instead of ,, and some softwares don't allow exporting using , as a separator.

This PR adds an optional --csvDelimiter option that can be used to specify the delimited we want. It defaults as comma.

Usage: githubCsvTools --csvDelimiter ';' ./myFileDelimitedByColons.csv

gavinr commented 1 year ago

Thank you. Can you please add the option to the README too?

pgerlach commented 1 year ago

gavinr commented 1 year ago

Please add an example file (CSV with semicolon delimiters) into the test/ folder, so I can fully test this. Thank you.

pgerlach commented 1 year ago

test/semicolonSeparator.csv does not work unless option --csvDelimiter ';' is given on command line.

gavinr commented 1 year ago

thanks!

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 3.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: