Improved copy & quit options.

This commit is contained in:
2019-03-24 03:08:51 +01:00
parent 4065f3d4d6
commit e85a0f45f9
4 changed files with 14 additions and 10 deletions

View File

@@ -21,6 +21,11 @@ const { argv } = yargs
.option('debug', {
describe: 'Show error stack traces',
type: 'boolean',
})
.option('quit', {
describe: 'Exit after fetching data. Usually used with --copy.',
type: 'boolean',
alias: 'q',
});
module.exports = argv;