Closed screendriver closed 8 years ago
I am using download-cli in one of my npm scripts. Is it possible to add a different output directory and a different file name? Like
$ ./node_modules/.bin/download -o myDir http://test.com/foo.json > bar.json
If I make this one above I get a bar.json in the root directory but not in myDir.
bar.json
myDir
download http://test.com/foo.json > myDir/bar.json
But this does not work when the directory myDir does not exist. -o myDir however creates not existing directories.
-o myDir
I am using download-cli in one of my npm scripts. Is it possible to add a different output directory and a different file name? Like
If I make this one above I get a
bar.json
in the root directory but not inmyDir
.