Generate YAML files from rows inside a CSV
- OSX
- Python
- Create a
data.csvfile with all the data you wish to add to your yaml files. - Run
python generate.pyin your terminal. .yamlfiles will be generated and saved inside a/yamlfolder.
- A sample
data.csvfile has been included for testing. - Make sure the first row contains the column headings as this will be used in your yaml.
- The last cell in your
.csvrow will be used as the filename and also be included in the yaml data.
Credits go to hfionte for the original script.