mongoose-data-seed
Version:
Seed mongodb with data using mongoose models
4,741 lines • 128 kB
JSON
{
"type": "File",
"start": 0,
"end": 595,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 33,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 595,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 33,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "Identifier",
"start": 62,
"end": 559,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 30,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 68,
"end": 558,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 30,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 85,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "optionDefinitions"
},
"name": "optionDefinitions",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 88,
"end": 558,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 30,
"column": 1
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 92,
"end": 289,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 15,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 98,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 98,
"end": 102,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 104,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 19
}
},
"extra": {
"rawValue": "seeders",
"raw": "'seeders'"
},
"value": "seeders"
}
},
{
"type": "ObjectProperty",
"start": 119,
"end": 129,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 119,
"end": 124,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 126,
"end": 129,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 14
}
},
"extra": {
"rawValue": "s",
"raw": "'s'"
},
"value": "s"
}
},
{
"type": "ObjectProperty",
"start": 135,
"end": 147,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 135,
"end": 139,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 141,
"end": 147,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 16
},
"identifierName": "String"
},
"name": "String"
}
},
{
"type": "ObjectProperty",
"start": 153,
"end": 167,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 153,
"end": 161,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 12
},
"identifierName": "multiple"
},
"name": "multiple"
},
"value": {
"type": "BooleanLiteral",
"start": 163,
"end": 167,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 18
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 173,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 20
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 173,
"end": 185,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "ArrayExpression",
"start": 187,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 20
}
},
"elements": []
}
},
{
"type": "ObjectProperty",
"start": 195,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 195,
"end": 208,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 17
},
"identifierName": "defaultOption"
},
"name": "defaultOption"
},
"value": {
"type": "BooleanLiteral",
"start": 210,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 19
},
"end": {
"line": 12,
"column": 23
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 220,
"end": 243,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 220,
"end": 229,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 13
},
"identifierName": "typeLabel"
},
"name": "typeLabel"
},
"value": {
"type": "StringLiteral",
"start": 231,
"end": 243,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
}
},
"extra": {
"rawValue": "seeder ...",
"raw": "'seeder ...'"
},
"value": "seeder ..."
}
},
{
"type": "ObjectProperty",
"start": 249,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 39
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 249,
"end": 260,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 262,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 39
}
},
"extra": {
"rawValue": "Seeders names to run",
"raw": "'Seeders names to run'"
},
"value": "Seeders names to run"
}
}
]
},
{
"type": "ObjectExpression",
"start": 293,
"end": 431,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 22,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 299,
"end": 313,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 299,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 305,
"end": 313,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 18
}
},
"extra": {
"rawValue": "dropdb",
"raw": "'dropdb'"
},
"value": "dropdb"
}
},
{
"type": "ObjectProperty",
"start": 319,
"end": 329,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 319,
"end": 324,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 326,
"end": 329,
"loc": {
"start": {
"line": 18,
"column": 11
},
"end": {
"line": 18,
"column": 14
}
},
"extra": {
"rawValue": "d",
"raw": "'d'"
},
"value": "d"
}
},
{
"type": "ObjectProperty",
"start": 335,
"end": 348,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 335,
"end": 339,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 17
},
"identifierName": "Boolean"
},
"name": "Boolean"
}
},
{
"type": "ObjectProperty",
"start": 354,
"end": 373,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 354,
"end": 366,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "BooleanLiteral",
"start": 368,
"end": 373,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 23
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 379,
"end": 426,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 51
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 379,
"end": 390,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 392,
"end": 426,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 51
}
},
"extra": {
"rawValue": "Drop the database before seeding",
"raw": "'Drop the database before seeding'"
},
"value": "Drop the database before seeding"
}
}
]
},
{
"type": "ObjectExpression",
"start": 435,
"end": 555,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 29,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 441,
"end": 453,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 441,
"end": 445,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 447,
"end": 453,
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 16
}
},
"extra": {
"rawValue": "help",
"raw": "'help'"
},
"value": "help"
}
},
{
"type": "ObjectProperty",
"start": 459,
"end": 469,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 459,
"end": 464,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 466,
"end": 469,
"loc": {
"start": {
"line": 25,
"column": 11
},
"end": {
"line": 25,
"column": 14
}
},
"extra": {
"rawValue": "h",
"raw": "'h'"
},
"value": "h"
}
},
{
"type": "ObjectProperty",
"start": 475,
"end": 488,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 475,
"end": 479,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 481,
"end": 488,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 17
},
"identifierName": "Boolean"
},
"name": "Boolean"
}
},
{
"type": "ObjectProperty",
"start": 494,
"end": 513,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 494,
"end": 506,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "BooleanLiteral",
"start": 508,
"end": 513,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 23
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 519,
"end": 550,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 519,
"end": 530,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 532,
"end": 550,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 35
}
},
"extra": {
"rawValue": "Show usage guide",
"raw": "'Show usage guide'"
},
"value": "Show usage guide"
}
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "Identifier",
"start": 561,
"end": 594,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 33
}
},
"declaration": {
"type": "Identifier",
"start": 576,
"end": 593,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 32
},
"identifierName": "optionDefinitions"
},
"name": "optionDefinitions"
},
"name": "_",
"leadingComments": [],
"trailingComments": []
},
{
"type": "ExportDefaultDeclaration",
"start": 561,
"end": 594,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 33
}
},
"declaration": {
"type": "VariableDeclaration",
"start": 62,
"end": 559,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 30,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 68,
"end": 558,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 30,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 85,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "optionDefinitions"
},
"name": "optionDefinitions",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 88,
"end": 558,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 30,
"column": 1
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 92,
"end": 289,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 15,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 98,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 98,
"end": 102,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 104,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 19
}
},
"extra": {
"rawValue": "seeders",
"raw": "'seeders'"
},
"value": "seeders"
}
},
{
"type": "ObjectProperty",
"start": 119,
"end": 129,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 119,
"end": 124,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 126,
"end": 129,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 14
}
},
"extra": {
"rawValue": "s",
"raw": "'s'"
},
"value": "s"
}
},
{
"type": "ObjectProperty",
"start": 135,
"end": 147,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 135,
"end": 139,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 141,
"end": 147,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 16
},
"identifierName": "String"
},
"name": "String"
}
},
{
"type": "ObjectProperty",
"start": 153,
"end": 167,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 153,
"end": 161,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 12
},
"identifierName": "multiple"
},
"name": "multiple"
},
"value": {
"type": "BooleanLiteral",
"start": 163,
"end": 167,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 18
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 173,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 20
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 173,
"end": 185,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "ArrayExpression",
"start": 187,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 20
}
},
"elements": []
}
},
{
"type": "ObjectProperty",
"start": 195,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 195,
"end": 208,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 17
},
"identifierName": "defaultOption"
},
"name": "defaultOption"
},
"value": {
"type": "BooleanLiteral",
"start": 210,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 19
},
"end": {
"line": 12,
"column": 23
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 220,
"end": 243,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 220,
"end": 229,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 13
},
"identifierName": "typeLabel"
},
"name": "typeLabel"
},
"value": {
"type": "StringLiteral",
"start": 231,
"end": 243,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
}
},
"extra": {
"rawValue": "seeder ...",
"raw": "'seeder ...'"
},
"value": "seeder ..."
}
},
{
"type": "ObjectProperty",
"start": 249,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 39
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 249,
"end": 260,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 262,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 39
}
},
"extra": {
"rawValue": "Seeders names to run",
"raw": "'Seeders names to run'"
},
"value": "Seeders names to run"
}
}
]
},
{
"type": "ObjectExpression",
"start": 293,
"end": 431,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 22,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 299,
"end": 313,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 18
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 299,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 305,
"end": 313,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 18
}
},
"extra": {
"rawValue": "dropdb",
"raw": "'dropdb'"
},
"value": "dropdb"
}
},
{
"type": "ObjectProperty",
"start": 319,
"end": 329,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 319,
"end": 324,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 326,
"end": 329,
"loc": {
"start": {
"line": 18,
"column": 11
},
"end": {
"line": 18,
"column": 14
}
},
"extra": {
"rawValue": "d",
"raw": "'d'"
},
"value": "d"
}
},
{
"type": "ObjectProperty",
"start": 335,
"end": 348,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 335,
"end": 339,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 17
},
"identifierName": "Boolean"
},
"name": "Boolean"
}
},
{
"type": "ObjectProperty",
"start": 354,
"end": 373,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 354,
"end": 366,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "BooleanLiteral",
"start": 368,
"end": 373,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 23
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 379,
"end": 426,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 51
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 379,
"end": 390,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 392,
"end": 426,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 51
}
},
"extra": {
"rawValue": "Drop the database before seeding",
"raw": "'Drop the database before seeding'"
},
"value": "Drop the database before seeding"
}
}
]
},
{
"type": "ObjectExpression",
"start": 435,
"end": 555,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 29,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 441,
"end": 453,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 441,
"end": 445,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 447,
"end": 453,
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 16
}
},
"extra": {
"rawValue": "help",
"raw": "'help'"
},
"value": "help"
}
},
{
"type": "ObjectProperty",
"start": 459,
"end": 469,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 459,
"end": 464,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 466,
"end": 469,
"loc": {
"start": {
"line": 25,
"column": 11
},
"end": {
"line": 25,
"column": 14
}
},
"extra": {
"rawValue": "h",
"raw": "'h'"
},
"value": "h"
}
},
{
"type": "ObjectProperty",
"start": 475,
"end": 488,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 475,
"end": 479,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 481,
"end": 488,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 17
},
"identifierName": "Boolean"
},
"name": "Boolean"
}
},
{
"type": "ObjectProperty",
"start": 494,
"end": 513,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 494,
"end": 506,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "BooleanLiteral",
"start": 508,
"end": 513,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 23
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 519,
"end": 550,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 519,
"end": 530,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 532,
"end": 550,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 35
}
},
"extra": {
"rawValue": "Show usage guide",
"raw": "'Show usage guide'"
},
"value": "Show usage guide"
}
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Run command option defenitions\n * @type {Object[]}\n ",
"start": 0,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
}
],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Run command option defenitions\n * @type {Object[]}\n ",
"start": 0,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": "*\n * Run command option defenitions\n * @type {Object[]}\n ",
"start": 0,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 62,
"end": 67,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "optionDefinitions",
"start": 68,
"end": 85,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 86,
"end": 87,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 88,
"end": 89,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 92,
"end": 93,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 98,
"end": 102,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 9
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "seeders",
"start": 104,
"end": 113,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 7,
"column": 19
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alias",
"start": 119,
"end": 124,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "s",
"start": 126,
"end": 129,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 129,
"end": 130,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 135,
"end": 139,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "String",
"start": 141,
"end": 147,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 147,
"end": 148,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "multiple",
"start": 153,
"end": 161,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 163,
"end": 167,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 167,
"end": 168,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultValue",
"start": 173,
"end": 185,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 185,
"end": 186,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 17
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 187,
"end": 188,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 19
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 188,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 189,
"end": 190,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultOption",
"start": 195,
"end": 208,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 18
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 210,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 19
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 214,
"end": 215,
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeLabel",
"start": 220,
"end": 229,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "seeder ...",
"start": 231,
"end": 243,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 243,
"end": 244,
"loc": {
"start": {
"line": 13,
"column": 27
},
"end": {
"line": 13,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "description",
"start": 249,
"end": 260,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 260,
"end": 261,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Seeders names to run",
"start": 262,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 284,
"end": 285,
"loc": {
"start": {
"line": 14,
"column": 39
},
"end": {
"line": 14,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 288,
"end": 289,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 3
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 289,
"end": 290,
"loc": {
"start": {
"line": 15,
"column": 3
},
"end": {
"line": 15,
"column": 4
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 299,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 303,
"end": 304,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 9
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "dropdb",
"start": 305,
"end": 313,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 313,
"end": 314,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alias",
"start": 319,
"end": 324,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 324,
"end": 325,
"loc": {
"start": {
"line": 18,
"column": 9
},
"end": {
"line": 18,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "d",
"start": 326,
"end": 329,
"loc": {
"start": {
"line": 18,
"column": 11
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 329,
"end": 330,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 335,
"end": 339,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Boolean",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultValue",
"start": 354,
"end": 366,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 366,
"end": 367,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 368,
"end": 373,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 373,
"end": 374,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "description",
"start": 379,
"end": 390,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 390,
"end": 391,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Drop the database before seeding",
"start": 392,
"end": 426,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 426,
"end": 427,
"loc": {
"start": {
"line": 21,
"column": 51
},
"end": {
"line": 21,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 430,
"end": 431,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 3
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 22,
"column": 3
},
"end": {
"line": 22,
"column": 4
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 435,
"end": 436,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 23,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 441,
"end": 445,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 445,
"end": 446,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 9
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "help",
"start": 447,
"end": 453,
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 453,
"end": 454,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alias",
"start": 459,
"end": 464,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 464,
"end": 465,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "h",
"start": 466,
"end": 469,
"loc": {
"start": {
"line": 25,
"column": 11
},
"end": {
"line": 25,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 469,
"end": 470,
"loc": {
"start": {
"line": 25,
"column": 14
},
"end": {
"line": 25,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 475,
"end": 479,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 479,
"end": 480,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Boolean",
"start": 481,
"end": 488,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 488,
"end": 489,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultValue",
"start": 494,
"end": 506,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 506,
"end": 507,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 508,
"end": 513,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 27,
"column": 23
},
"end": {
"line": 27,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "description",
"start": 519,
"end": 530,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Show usage guide",
"start": 532,
"end": 550,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 28,
"column": 35
},
"end": {
"line": 28,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 554,
"end": 555,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 3
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 555,
"end": 556,
"loc": {
"start": {
"line": 29,
"column": 3
},
"end": {
"line": 29,
"column": 4
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 557,
"end": 558,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 30,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 558,
"end": 559,
"loc": {
"start": {
"line": 30,
"column": 1
},
"end": {
"line": 30,
"column": 2
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 561,
"end": 567,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 568,
"end": 575,
"loc": {
"start": {
"line": 32,
"column": 7
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "optionDefinitions",
"start": 576,
"end": 593,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 32,
"column": 32
},
"end": {
"line": 32,
"column": 33
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 595,
"end": 595,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 33,
"column": 0
}
}
}
]
}