The current implementation provides no option for providing destination path for commandline run via sketchtool - it takes whatever had been declared by the Sketch user in export configuration. However, for automatic build it sometimes (usually?) is helpful to decide where the prototype will be exported. I added such option "currentPath" that can be used as a context parameter (similarly to "file" parameter). The name is not the most intuitive, but didn't want to introduce new name for the destination path (and currentPath is the name used in the plugin internally - perhaps it could be refactored?:)
The current implementation provides no option for providing destination path for commandline run via sketchtool - it takes whatever had been declared by the Sketch user in export configuration. However, for automatic build it sometimes (usually?) is helpful to decide where the prototype will be exported. I added such option "currentPath" that can be used as a context parameter (similarly to "file" parameter). The name is not the most intuitive, but didn't want to introduce new name for the destination path (and currentPath is the name used in the plugin internally - perhaps it could be refactored?:)