etu-wiki / etu-cli

The command line tool to start IIIF from image file on your hard disc
MIT License
28 stars 0 forks source link

How to display several json files in one cookbook folder #2

Open ginkgo97 opened 2 years ago

ginkgo97 commented 2 years ago

As such situation may occur that each folder under cookbook folder can include several json files, the current code fs.copyFileSync() in etu.js may fail to run. Hence, I suggest traversing directory rather than string concatenation. See also: Node.js: Traversing A Directory Recursively with Limited Depth.

joesong168 commented 2 years ago

Support multiple manifests in etu-cli