Closed anarwal closed 2 years ago
A workaround for this is to have multiple different instances of the plugin with multiple output directories, but I'll see if I can add a setting for this before the next release.
You can now do this using the modifyContent
option. See the readme for more details.
In order to use authorization with requestConfig, I am using github api and base url is like:
sourceBaseUrl: "https://github.com/api/v3/repos/<org>/<repo>/contents/",
in my repo the file I am trying to download is in a directory, so I have to use following documents value:documents: ["<dir-name>/<file-name>"]
While downloading this//.
<dir-name>
gets appended tooutput-dir
. This makes the file result-path to beCan you allow to provide
output-file
along withoutput-dir
. This would make things a way lot easier to move the files around.