.option('-L, --language <language number>', 'Language number')
.option('-d, --video-description <description>', 'Video description')
.option('-t, --tags <tags>', 'Video tags', list)
+ .option('-b, --thumbnail <thumbnailPath>', 'Thumbnail path')
+ .option('-v, --preview <previewPath>', 'Preview path')
.option('-f, --file <file>', 'Video absolute file path')
.parse(process.argv)
description: program['videoDescription'],
tags: program['tags'],
commentsEnabled: program['commentsEnabled'],
- fixture: program['file']
+ fixture: program['file'],
+ thumbnailfile: program['thumbnailPath'],
+ previewfile: program['previewPath']
}
await uploadVideo(program['url'], accessToken, videoAttributes)