Add --resolution flag

This commit is contained in:
freearhey 2021-01-18 21:20:07 +03:00
parent fe67c9fc0b
commit db799ab89c
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,8 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"iptv-checker-module": "^2.0.3", "iptv-checker-module": "^2.0.3",
"iptv-playlist-parser": "^0.5.4" "iptv-playlist-parser": "^0.5.4",
"progress": "^2.0.3"
}, },
"devDependencies": { "devDependencies": {
"axios": "^0.21.1", "axios": "^0.21.1",

View File

@ -11,6 +11,7 @@ program
.option('-c, --country <country>', 'Comma-separated list of country codes') .option('-c, --country <country>', 'Comma-separated list of country codes')
.option('-e, --exclude <exclude>', 'Comma-separated list of country codes to be excluded ') .option('-e, --exclude <exclude>', 'Comma-separated list of country codes to be excluded ')
.option('--epg', 'Turn on EPG parser') .option('--epg', 'Turn on EPG parser')
.option('--resolution', 'Turn on resolution parser')
.parse(process.argv) .parse(process.argv)
const config = program.opts() const config = program.opts()