diff options
Diffstat (limited to 'scripts/create-import-video-file-job.ts')
-rw-r--r-- | scripts/create-import-video-file-job.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/create-import-video-file-job.ts b/scripts/create-import-video-file-job.ts index 071d36df4..97e9c7933 100644 --- a/scripts/create-import-video-file-job.ts +++ b/scripts/create-import-video-file-job.ts | |||
@@ -1,12 +1,9 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
4 | import { program } from 'commander' | 1 | import { program } from 'commander' |
5 | import { resolve } from 'path' | 2 | import { resolve } from 'path' |
6 | import { VideoModel } from '../server/models/video/video' | 3 | import { isUUIDValid, toCompleteUUID } from '@server/helpers/custom-validators/misc' |
7 | import { initDatabaseModels } from '../server/initializers/database' | 4 | import { initDatabaseModels } from '../server/initializers/database' |
8 | import { JobQueue } from '../server/lib/job-queue' | 5 | import { JobQueue } from '../server/lib/job-queue' |
9 | import { isUUIDValid, toCompleteUUID } from '@server/helpers/custom-validators/misc' | 6 | import { VideoModel } from '../server/models/video/video' |
10 | 7 | ||
11 | program | 8 | program |
12 | .option('-v, --video [videoUUID]', 'Video UUID') | 9 | .option('-v, --video [videoUUID]', 'Video UUID') |