As referred to in my code review of #22, we should have a discussion around what the user expects, and what use cases we envision for the CLI or module. For example, there are a few considerations:
- What is not all rows have data in the column assigned for the naming scheme?
- What if there is no need for a relation between the filename and the data? (i.e. do we want a default behaviour, e.g. numbering files)
- How about more composite naming schemes, such as a possible combination of the
template.docx and one or multiple .csv headers? I am imagining an invoice, with invoice.docx as template, and an output such as invoice_eventX_david_verweij_March_2020.docx
Next steps
Before implementing any code, I would like to kick off this discussion below. What are your thoughts on these use cases, any use cases you can think of (or have experienced yourself) and to what extent is this something our script should handle (considering OS native solution to batch rename files).
As referred to in my code review of #22, we should have a discussion around what the user expects, and what use cases we envision for the CLI or module. For example, there are a few considerations:
template.docxand one or multiple .csv headers? I am imagining an invoice, withinvoice.docxas template, and an output such asinvoice_eventX_david_verweij_March_2020.docxNext steps
Before implementing any code, I would like to kick off this discussion below. What are your thoughts on these use cases, any use cases you can think of (or have experienced yourself) and to what extent is this something our script should handle (considering OS native solution to batch rename files).