1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-24 00:42:18 +00:00

Add noCleanup argument (#95)

* Added noCleanup argument (don't delete temp audio/video files on ffmpeg error)
* Added argument to README

Co-authored-by: Aleksa Savic <savicaleksa83@gmail.com>
This commit is contained in:
Don
2020-04-26 17:03:03 +02:00
committed by GitHub
parent 81a15b2023
commit 67cb62ce3c
3 changed files with 13 additions and 5 deletions

View File

@@ -54,6 +54,13 @@ export const argv = yargs.options({
type: 'boolean',
default: false,
demandOption: false
},
noCleanup: {
alias: 'nc',
describe: `Don't delete the downloaded video file when an FFmpeg error occurs`,
type: 'boolean',
default: false,
demandOption: false
}
})
/**