Refactored media module to generalize avatar and poster storage into photo storage.
This commit is contained in:
20
src/argv.js
20
src/argv.js
@@ -5,6 +5,11 @@ const yargs = require('yargs');
|
||||
|
||||
const { argv } = yargs
|
||||
.command('npm start')
|
||||
.option('server', {
|
||||
describe: 'Start web server',
|
||||
type: 'boolean',
|
||||
alias: 'web',
|
||||
})
|
||||
.option('scrape', {
|
||||
describe: 'Scrape sites and networks defined in configuration',
|
||||
type: 'boolean',
|
||||
@@ -24,6 +29,16 @@ const { argv } = yargs
|
||||
type: 'array',
|
||||
alias: 'actor',
|
||||
})
|
||||
.option('scene', {
|
||||
describe: 'Scrape scene info from URL',
|
||||
type: 'array',
|
||||
alias: 'release',
|
||||
})
|
||||
.option('movie', {
|
||||
describe: 'Scrape movie info from URL',
|
||||
type: 'array',
|
||||
alias: 'dvd',
|
||||
})
|
||||
.option('sources', {
|
||||
describe: 'Use these scrapers for actor data',
|
||||
type: 'array',
|
||||
@@ -39,11 +54,6 @@ const { argv } = yargs
|
||||
type: 'boolean',
|
||||
alias: 'force',
|
||||
})
|
||||
.option('url', {
|
||||
describe: 'Scrape scene info from URL',
|
||||
type: 'array',
|
||||
alias: 'fetch',
|
||||
})
|
||||
.option('after', {
|
||||
describe: 'Don\'t fetch scenes older than',
|
||||
type: 'string',
|
||||
|
||||
Reference in New Issue
Block a user