IDEMSInternational / rapidpro-flow-toolkit

Toolkit for using spreadsheets to create and modify RapidPro flows
GNU Lesser General Public License v2.1
3 stars 1 forks source link

Treat multiple input files as a single unit #107

Closed geoo89 closed 10 months ago

geoo89 commented 11 months ago

Previously, there were limits to what extent multiple input files could cross-reference each other. Now, cross-referencing has well-defined behavior. Similarly, if a sheet is defined multiple times, the parsing order determines which of the sheet will be used (the last one in the parsing order).

Fixes #104

istride commented 11 months ago

It would simplify things a lot if we defined a CSV workbook to be a directory containing CSV files.

workbook
├── content_index.csv
├── sheet1.csv
└── sheet2.csv

This should be considered the same as an XLSX file or Google Sheets document with three sheets/tabs. A CSV reader would then be identified by its base directory, so two CSV readers with the same base directory are identical.