gavinr / github-csv-tools

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

getting only the milestone Title #23

Closed dev0zzz closed 4 years ago

dev0zzz commented 4 years ago

Hi, I am trying to only get the milestone Title for the csv.

Do you have any idea, how to update the code, that instead of all the Milestone columns, I get something like this:

const defaultColumns = values.exportAttributes || [ "created_at", "labels", "milestone.title", "number", "title", "body", "state", ];

thanks = )

great tool by the way^^

gavinr commented 4 years ago

Makes sense that you want to be able to choose some of the fields that have the dot in them. I think that could be a fix to allow that.

gavinr commented 4 years ago

This is now possible in v2.0.0:

githubCsvTools --exportAttributes number,title,milestone.title
dev0zzz commented 4 years ago

nice thanks