forked from DebaucheryLibrarian/traxxx
Added scene media detach.
This commit is contained in:
27
src/argv.js
27
src/argv.js
@@ -349,7 +349,32 @@ const { argv } = yargs
|
||||
describe: 'Remove files from storage when flushing media.',
|
||||
type: 'boolean',
|
||||
alias: 'flush-files',
|
||||
default: true,
|
||||
})
|
||||
.option('detach-channel-media', {
|
||||
describe: 'Remove media files from channel scenes.',
|
||||
type: 'array',
|
||||
})
|
||||
.option('detach-network-media', {
|
||||
describe: 'Remove media files from network scenes.',
|
||||
type: 'array',
|
||||
})
|
||||
.option('detach-release-media', {
|
||||
describe: 'Remove media files from network scenes.',
|
||||
type: 'array',
|
||||
alias: ['detach-scene-media'],
|
||||
})
|
||||
.option('detach-media-domains', {
|
||||
describe: 'Only detach these types of media.',
|
||||
type: 'array',
|
||||
default: [
|
||||
'posters',
|
||||
'photos',
|
||||
'caps',
|
||||
'trailers',
|
||||
'teasers',
|
||||
'covers',
|
||||
],
|
||||
alias: ['detach-media'],
|
||||
})
|
||||
.option('flush-channels', {
|
||||
describe: 'Delete all scenes and movies from channels.',
|
||||
|
||||
Reference in New Issue
Block a user