fixed gfycat type in setup script

pull/18/head
tycrek 4 years ago
parent 24c05bfe69
commit 1270abea3a
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -73,21 +73,20 @@ if (require.main === module) {
default: config.resourceIdSize,
required: false
},
gfyIdSize: {
description: 'Adjective count for "gfycat" Resource ID type',
type: 'integer',
default: config.gfyIdSize,
required: false
},
resourceIdType: {
description: 'Resource ID type (determines what kind of URL your uploads are visible at. Can be one of: original, zws, random)',
description: 'Resource ID type (determines what kind of URL your uploads are visible at. Can be one of: original, zws, random, gfycat)',
type: 'string',
default: config.resourceIdType,
require: false,
pattern: /(original|zws|random|gfycat)/gi,
message: 'Must be one of: original, zws, random, gfycat'
},
gfyIdSize: {
description: 'Adjective count for "gfycat" Resource ID type',
type: 'integer',
default: config.gfyIdSize,
required: false
},
diskFilePath: {
description: 'Relative path to save uploads to',
type: 'string',

Loading…
Cancel
Save