Added rudimentary movie relations.
This commit is contained in:
19
src/argv.js
19
src/argv.js
@@ -29,12 +29,17 @@ const { argv } = yargs
|
||||
type: 'array',
|
||||
alias: 'actor',
|
||||
})
|
||||
.option('with-releases', {
|
||||
describe: 'Fetch all releases for an actor',
|
||||
.option('with-scenes', {
|
||||
describe: 'Fetch all scenes for an actor or movie',
|
||||
type: 'boolean',
|
||||
alias: 'with-scenes',
|
||||
alias: 'with-releases',
|
||||
default: false,
|
||||
})
|
||||
.option('with-movies', {
|
||||
describe: 'Fetch movies for scenes',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
})
|
||||
.option('with-profiles', {
|
||||
describe: 'Scrape profiles for new actors after fetching scenes',
|
||||
type: 'boolean',
|
||||
@@ -44,12 +49,12 @@ const { argv } = yargs
|
||||
.option('scene', {
|
||||
describe: 'Scrape scene info from URL',
|
||||
type: 'array',
|
||||
alias: 'release',
|
||||
alias: 'scenes',
|
||||
})
|
||||
.option('movie', {
|
||||
describe: 'Scrape movie info from URL',
|
||||
type: 'array',
|
||||
alias: 'dvd',
|
||||
alias: 'movies',
|
||||
})
|
||||
.option('sources', {
|
||||
describe: 'Use these scrapers for actor data',
|
||||
@@ -121,11 +126,13 @@ const { argv } = yargs
|
||||
describe: 'Include release posters',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
alias: 'poster',
|
||||
})
|
||||
.option('covers', {
|
||||
describe: 'Include release covers',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
alias: 'cover',
|
||||
})
|
||||
.option('photos', {
|
||||
describe: 'Include release photos',
|
||||
@@ -136,11 +143,13 @@ const { argv } = yargs
|
||||
describe: 'Include release trailers',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
alias: 'trailer',
|
||||
})
|
||||
.option('teasers', {
|
||||
describe: 'Include release teasers',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
alias: 'teaser',
|
||||
})
|
||||
.option('avatars', {
|
||||
describe: 'Include actor avatars',
|
||||
|
||||
Reference in New Issue
Block a user