+import { registerTSPaths } from '../helpers/register-ts-paths'
+registerTSPaths()
+
import * as program from 'commander'
import { access, constants } from 'fs-extra'
import { isAbsolute } from 'path'
console.log('Uploading %s video...', program[ 'videoName' ])
- const defaultAttributes = {
- tags: command[ 'tags' ],
- description: command[ 'videoDescription' ]
- }
- const videoAttributes = await buildVideoAttributesFromCommander(url, program, defaultAttributes)
+ const videoAttributes = await buildVideoAttributesFromCommander(url, program)
Object.assign(videoAttributes, {
fixture: program[ 'file' ],