To make it easier to process local files, we have created a CLI that you can install directly in your computer. This is a great way to process folders containing multiple files and to save the results locally on your computer.
npm install -g moises
Process local file
High-level method to process a single local file. Behind the scenes, this will: create a new job; wait for its completion; download the results to your local folder; and delete the job from the developer platform.
moises process file <workflow> <fileLocation> <outputFolder>
Process local folder
Similar to the previous method, but will process all files in the folder:
moises process folder <workflow> <inputFolder> <outputFolder> [--watch]
You can use the --watch option to continuously process new files added to the inputFolder
moises job add <name> <workflow> <inputFile>
moises job delete <jobId>
moises job info <jobId>
moises job list