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

Alert the user on error if including spaces in "--exportAttributes" #66

Open tiagonmas opened 2 years ago

tiagonmas commented 2 years ago

Great tool. As feedback the tool could look at spaces, or alert the user as the following was shoing an error:

githubCsvTools -f doar2.csv -c -e -t ghp_TkQxXXXXXXXXXXXXXv6s2Gpbm1eX9yY -o myorgname -r myrepo --exportAttributes id, title, labels, comments, body

error: Error reading file.

I had to call with no spaces in the: --exportAttributes id,title,labels,comments,body

gavinr commented 2 years ago

PRs welcome for this.