Support multiple segments at once and make index output template easier to write.
Support multiple segments at once and make index output template easier to write.

brendanlong/dash-ts-tools,brendanlong/dash-ts-tools