Skip to content

Conversation

@pgerlach
Copy link
Contributor

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

A lot of CVS files are deliimited by ';' and some softwares don't allow
exporting using ',' as a separator.
@gavinr
Copy link
Owner

gavinr commented Mar 24, 2023

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

@gavinr gavinr self-requested a review March 24, 2023 04:11
@pgerlach
Copy link
Contributor Author

@gavinr
Copy link
Owner

gavinr commented Mar 30, 2023

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

@pgerlach
Copy link
Contributor Author

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

@gavinr gavinr merged commit 87c8616 into gavinr:master Mar 31, 2023
@gavinr
Copy link
Owner

gavinr commented Mar 31, 2023

thanks!

github-actions bot pushed a commit that referenced this pull request Mar 31, 2023
# [3.2.0](v3.1.8...v3.2.0) (2023-03-31)

### Features

* option "--csvDelimiter <delimiter>" ([#86](#86)) ([87c8616](87c8616))
@github-actions
Copy link

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants