paperboy icon indicating copy to clipboard operation
paperboy copied to clipboard

Support CSV for recipients

Open gbonnefille opened this issue 1 year ago • 4 comments

CSV is a classical input format.

Fixes #1

gbonnefille avatar Nov 14 '24 16:11 gbonnefille

CSV is classic. I would inline newCSVReader and unmarshalYamlRecipients because they are quite short and used only once.

rykov avatar Jun 20 '25 22:06 rykov

@gbonnefille Thinking further about this in the context of what I commented on #40, what do you think about moving CSVConfig into the CSV frontmatter? Seems like a better place for it than the global configuration.

rykov avatar Jun 21 '25 02:06 rykov

CSV is classic. I would inline newCSVReader and unmarshalYamlRecipients because they are quite short and used only once.

I have no opinion on such improvment. Feel free to apply any change you consider.

gbonnefille avatar Jun 23 '25 07:06 gbonnefille

@gbonnefille Thinking further about this in the context of what I commented on #40, what do you think about moving CSVConfig into the CSV frontmatter? Seems like a better place for it than the global configuration.

I'm not sure to understand: you want to set the set the Comma property in a comment of the CSV file?

Of course, it seems a good idea as it is clearly coupled with this file.

Nevertheless, as it is a non standard feature, any user will have to edit the (generated) CSV before using it, each time it is regenerated. IMHO, a CSV file is certainly generated from another tool. Having to edit a frontmatter will break a smooth pipeline.

gbonnefille avatar Jun 23 '25 07:06 gbonnefille

Integrated in 74c8851098cb400fd26083d3c2b4ac91e6fba244

rykov avatar Oct 01 '25 15:10 rykov