mirror of
https://github.com/snobu/destreamer.git
synced 2026-03-03 02:28:24 +00:00
added debug and best quality flags
This commit is contained in:
@@ -70,6 +70,22 @@ export const argv: any = yargs.options({
|
|||||||
default: false,
|
default: false,
|
||||||
demandOption: false
|
demandOption: false
|
||||||
},
|
},
|
||||||
|
debug: {
|
||||||
|
alias: 'd',
|
||||||
|
describe: 'Set logging level to debug (only use this if you know what are doing)',
|
||||||
|
type: 'boolean',
|
||||||
|
default: false,
|
||||||
|
demandOption: false
|
||||||
|
},
|
||||||
|
// TODO: change this in askChoiche so that by default we download the best one
|
||||||
|
// and let the user decide if they want a particular quality with this flag
|
||||||
|
bestQuality: {
|
||||||
|
alias: 'b',
|
||||||
|
describe: 'Automaticly choose the best quality aviable for video and audio',
|
||||||
|
type: 'boolean',
|
||||||
|
default: false,
|
||||||
|
demandOption: false
|
||||||
|
},
|
||||||
closedCaptions: {
|
closedCaptions: {
|
||||||
alias: 'cc',
|
alias: 'cc',
|
||||||
describe: 'Check if closed captions are available and let the user choose which one to download (will not ask if only one available)',
|
describe: 'Check if closed captions are available and let the user choose which one to download (will not ask if only one available)',
|
||||||
|
|||||||
Reference in New Issue
Block a user