mongoose-data-seed
Version:
Seed mongodb with data using mongoose models
3,130 lines • 83.5 kB
JSON
{
"type": "File",
"start": 0,
"end": 410,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 24,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 410,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 24,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "Identifier",
"start": 67,
"end": 374,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 21,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 73,
"end": 373,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 21,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 73,
"end": 90,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "optionDefinitions"
},
"name": "optionDefinitions",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 93,
"end": 373,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 21,
"column": 1
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 97,
"end": 246,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 103,
"end": 115,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 103,
"end": 107,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 109,
"end": 115,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 16
}
},
"extra": {
"rawValue": "name",
"raw": "'name'"
},
"value": "name"
}
},
{
"type": "ObjectProperty",
"start": 121,
"end": 131,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 121,
"end": 126,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 128,
"end": 131,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 14
}
},
"extra": {
"rawValue": "n",
"raw": "'n'"
},
"value": "n"
}
},
{
"type": "ObjectProperty",
"start": 137,
"end": 149,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 137,
"end": 141,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 143,
"end": 149,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 16
},
"identifierName": "String"
},
"name": "String"
}
},
{
"type": "ObjectProperty",
"start": 155,
"end": 174,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 155,
"end": 168,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 17
},
"identifierName": "defaultOption"
},
"name": "defaultOption"
},
"value": {
"type": "BooleanLiteral",
"start": 170,
"end": 174,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 23
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 180,
"end": 197,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 180,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 13
},
"identifierName": "typeLabel"
},
"name": "typeLabel"
},
"value": {
"type": "StringLiteral",
"start": 191,
"end": 197,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 21
}
},
"extra": {
"rawValue": "name",
"raw": "'name'"
},
"value": "name"
}
},
{
"type": "ObjectProperty",
"start": 203,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 203,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 216,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 42
}
},
"extra": {
"rawValue": "Seeder name to generate",
"raw": "'Seeder name to generate'"
},
"value": "Seeder name to generate"
}
}
]
},
{
"type": "ObjectExpression",
"start": 250,
"end": 370,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 20,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 256,
"end": 268,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 256,
"end": 260,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 262,
"end": 268,
"loc": {
"start": {
"line": 15,
"column": 10
},
"end": {
"line": 15,
"column": 16
}
},
"extra": {
"rawValue": "help",
"raw": "'help'"
},
"value": "help"
}
},
{
"type": "ObjectProperty",
"start": 274,
"end": 284,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 274,
"end": 279,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 281,
"end": 284,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 14
}
},
"extra": {
"rawValue": "h",
"raw": "'h'"
},
"value": "h"
}
},
{
"type": "ObjectProperty",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 290,
"end": 294,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 296,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 17
},
"identifierName": "Boolean"
},
"name": "Boolean"
}
},
{
"type": "ObjectProperty",
"start": 309,
"end": 328,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 309,
"end": 321,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "BooleanLiteral",
"start": 323,
"end": 328,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 23
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 334,
"end": 365,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 334,
"end": 345,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 347,
"end": 365,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"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": 376,
"end": 409,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 33
}
},
"declaration": {
"type": "Identifier",
"start": 391,
"end": 408,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 32
},
"identifierName": "optionDefinitions"
},
"name": "optionDefinitions"
},
"name": "_",
"leadingComments": [],
"trailingComments": []
},
{
"type": "ExportDefaultDeclaration",
"start": 376,
"end": 409,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 33
}
},
"declaration": {
"type": "VariableDeclaration",
"start": 67,
"end": 374,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 21,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 73,
"end": 373,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 21,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 73,
"end": 90,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "optionDefinitions"
},
"name": "optionDefinitions",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 93,
"end": 373,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 21,
"column": 1
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 97,
"end": 246,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 103,
"end": 115,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 103,
"end": 107,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 109,
"end": 115,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 16
}
},
"extra": {
"rawValue": "name",
"raw": "'name'"
},
"value": "name"
}
},
{
"type": "ObjectProperty",
"start": 121,
"end": 131,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 121,
"end": 126,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 128,
"end": 131,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 14
}
},
"extra": {
"rawValue": "n",
"raw": "'n'"
},
"value": "n"
}
},
{
"type": "ObjectProperty",
"start": 137,
"end": 149,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 137,
"end": 141,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 143,
"end": 149,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 16
},
"identifierName": "String"
},
"name": "String"
}
},
{
"type": "ObjectProperty",
"start": 155,
"end": 174,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 155,
"end": 168,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 17
},
"identifierName": "defaultOption"
},
"name": "defaultOption"
},
"value": {
"type": "BooleanLiteral",
"start": 170,
"end": 174,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 23
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 180,
"end": 197,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 180,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 13
},
"identifierName": "typeLabel"
},
"name": "typeLabel"
},
"value": {
"type": "StringLiteral",
"start": 191,
"end": 197,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 21
}
},
"extra": {
"rawValue": "name",
"raw": "'name'"
},
"value": "name"
}
},
{
"type": "ObjectProperty",
"start": 203,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 203,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 216,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 42
}
},
"extra": {
"rawValue": "Seeder name to generate",
"raw": "'Seeder name to generate'"
},
"value": "Seeder name to generate"
}
}
]
},
{
"type": "ObjectExpression",
"start": 250,
"end": 370,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 20,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 256,
"end": 268,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 256,
"end": 260,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 8
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 262,
"end": 268,
"loc": {
"start": {
"line": 15,
"column": 10
},
"end": {
"line": 15,
"column": 16
}
},
"extra": {
"rawValue": "help",
"raw": "'help'"
},
"value": "help"
}
},
{
"type": "ObjectProperty",
"start": 274,
"end": 284,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 274,
"end": 279,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 9
},
"identifierName": "alias"
},
"name": "alias"
},
"value": {
"type": "StringLiteral",
"start": 281,
"end": 284,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 14
}
},
"extra": {
"rawValue": "h",
"raw": "'h'"
},
"value": "h"
}
},
{
"type": "ObjectProperty",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 17
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 290,
"end": 294,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "Identifier",
"start": 296,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 17
},
"identifierName": "Boolean"
},
"name": "Boolean"
}
},
{
"type": "ObjectProperty",
"start": 309,
"end": 328,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 23
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 309,
"end": 321,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 16
},
"identifierName": "defaultValue"
},
"name": "defaultValue"
},
"value": {
"type": "BooleanLiteral",
"start": 323,
"end": 328,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 23
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 334,
"end": 365,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 334,
"end": 345,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "description"
},
"name": "description"
},
"value": {
"type": "StringLiteral",
"start": 347,
"end": 365,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 35
}
},
"extra": {
"rawValue": "Show usage guide",
"raw": "'Show usage guide'"
},
"value": "Show usage guide"
}
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Generate command option defenitions\n * @type {Object[]}\n ",
"start": 0,
"end": 66,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
}
],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Generate command option defenitions\n * @type {Object[]}\n ",
"start": 0,
"end": 66,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": "*\n * Generate command option defenitions\n * @type {Object[]}\n ",
"start": 0,
"end": 66,
"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": 67,
"end": 72,
"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": 73,
"end": 90,
"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": 91,
"end": 92,
"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": 93,
"end": 94,
"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": 97,
"end": 98,
"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": 103,
"end": 107,
"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": 107,
"end": 108,
"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": "name",
"start": 109,
"end": 115,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 115,
"end": 116,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alias",
"start": 121,
"end": 126,
"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": 126,
"end": 127,
"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": "n",
"start": 128,
"end": 131,
"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": 131,
"end": 132,
"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": 137,
"end": 141,
"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": 141,
"end": 142,
"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": 143,
"end": 149,
"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": 149,
"end": 150,
"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": "defaultOption",
"start": 155,
"end": 168,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 168,
"end": 169,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"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": 170,
"end": 174,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 174,
"end": 175,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeLabel",
"start": 180,
"end": 189,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"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": 13
},
"end": {
"line": 11,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "name",
"start": 191,
"end": 197,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 197,
"end": 198,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "description",
"start": 203,
"end": 214,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
}
}
},
{
"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": 15
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Seeder name to generate",
"start": 216,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 17
},
"end": {
"line": 12,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 12,
"column": 42
},
"end": {
"line": 12,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 245,
"end": 246,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 246,
"end": 247,
"loc": {
"start": {
"line": 13,
"column": 3
},
"end": {
"line": 13,
"column": 4
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 250,
"end": 251,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 256,
"end": 260,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 8
}
}
},
{
"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": 15,
"column": 8
},
"end": {
"line": 15,
"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": 262,
"end": 268,
"loc": {
"start": {
"line": 15,
"column": 10
},
"end": {
"line": 15,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 268,
"end": 269,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alias",
"start": 274,
"end": 279,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 279,
"end": 280,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"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": 281,
"end": 284,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 14
}
}
},
{
"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": 16,
"column": 14
},
"end": {
"line": 16,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 290,
"end": 294,
"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": 294,
"end": 295,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Boolean",
"start": 296,
"end": 303,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"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": 17
},
"end": {
"line": 17,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultValue",
"start": 309,
"end": 321,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 321,
"end": 322,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"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": 323,
"end": 328,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 328,
"end": 329,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "description",
"start": 334,
"end": 345,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"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": 347,
"end": 365,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 365,
"end": 366,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 369,
"end": 370,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 3
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 370,
"end": 371,
"loc": {
"start": {
"line": 20,
"column": 3
},
"end": {
"line": 20,
"column": 4
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 1
}
}
},
{
"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": 21,
"column": 1
},
"end": {
"line": 21,
"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": 376,
"end": 382,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"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": 383,
"end": 390,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "optionDefinitions",
"start": 391,
"end": 408,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 408,
"end": 409,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 33
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 410,
"end": 410,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 24,
"column": 0
}
}
}
]
}